- Home /
Question by
luxidium · Nov 01, 2013 at 07:49 PM ·
triggerrunloading file
How do you run a exe from code
How do you run an exe file from code when item is triggered?
Comment
Some more details would be handy. What are you trying to do? What platform(s) are you targeting?
it appears the goal would be something like
on click, open external link (*.exe)
Im trying to run a program in my doocuments in from java script
Best Answer
Answer by tanoshimi · Nov 01, 2013 at 09:49 PM
Something like this should work:
function OnTriggerEnter (other : Collider) {
var proc = new Process();
proc.StartInfo.FileName = "C://PathToApplication//Application.exe";
proc.Start();
}
Your answer
Follow this Question
Related Questions
Collision/Trigger with Playmaker 0 Answers
How to play a song when a key is pressed down within a trigger? Trying to make a Radio :P 2 Answers
How do I trigger an animation using a button? 3 Answers
Having problems when using triggers 1 Answer
How do you select a root object from a child's script? 1 Answer