- Home /
Can i use Application.OpenURL() for local files?
Hey guys, as the name of the question sais, am i able to access local programs like Skype, ICQ / whatever via application.OpenUrl?
my example :
Application.OpenURL(C://Users/BLAHH/BLAHH/BLAAAH.exe);
thank you in advance
bio
Comment
I don't know, maybe sth. like file://, but System.Diagnostics.Process.Start("C:/Users/..."); should work
Answer by Grady · Aug 05, 2011 at 10:15 AM
I'm not one hundred percent sure...
I assume that it might work, considering that website URLs have the http:// prefix which is what defines them as local URLs, so I reckon that something like
Application.OpenURL(C:\Program Files\Unity\Editor\Unity.exe);
should open up Unity!!!!
Either way, have a play around and see what you can find!!!
Hope this helps!
-Grady