Running another program?
by Elliot C. · in Torque Game Builder · 01/17/2010 (5:12 pm) · 5 replies
Hi, I'm curious to know if it's possible to open or run a different program through TGB. I've never seen any examples or attempts at this, so I'm mostly convinced it's not possible, but I'd like to know for sure. If it isn't possible, is it possible to open Internet Explorer, or a Folder through TGB?
About the author
#2
gotoWebPage ("C:\Users\Admin\Desktop\");
I have made sure that this is an actual folder name. It opens up the Internet Browser, and then states that "C:\Users\Admin\Desktop\ could not be found". I have tried this for many different locations, and recived the same error. Any ideas?
Much appreciated.
01/18/2010 (7:26 pm)
Thanks for the reply, I have tried "gotoWebPage" on your mark, and it worked. However, it doesn't seem to work for local directory. I had put something like:gotoWebPage ("C:\Users\Admin\Desktop\");
I have made sure that this is an actual folder name. It opens up the Internet Browser, and then states that "C:\Users\Admin\Desktop\ could not be found". I have tried this for many different locations, and recived the same error. Any ideas?
Much appreciated.
#3
gotoWebPage ("file://C:/Users/Admin/Desktop/somefile.html"); for example should work
01/18/2010 (7:37 pm)
local files require the file:// protocol and correct usage of /gotoWebPage ("file://C:/Users/Admin/Desktop/somefile.html"); for example should work
#4
01/18/2010 (7:40 pm)
Thanks for the reply, I will try that out immediatly. On another note, I use Windows Vista, not XP, and my file slashes follow as "\" and not "/". Sorry for the confusion.
#5
since windows 2k, windows support / and for urls \ is actually invalid on any platform
01/18/2010 (10:30 pm)
it does not caresince windows 2k, windows support / and for urls \ is actually invalid on any platform
Associate William Lee Sims
Machine Code Games