zutto Posted August 30, 2008 Posted August 30, 2008 yeah i am having problems with: $i = FileOpenDialog("", @DesktopDir,"executable file (*.exe*)" , 1 + 4 ) sleep(30) run($i) nothing major but its not launching the file i selected :S any ideas whats wrong with this?
Zedna Posted August 30, 2008 Posted August 30, 2008 It works for me. Try to check $i $i = FileOpenDialog("", @DesktopDir,"executable file (*.exe*)" , 1 + 4 ) sleep(30) ConsoleWrite($i) run($i) Resources UDF ResourcesEx UDF AutoIt Forum Search
zutto Posted August 30, 2008 Author Posted August 30, 2008 It works for me. Try to check $i $i = FileOpenDialog("", @DesktopDir,"executable file (*.exe*)" , 1 + 4 ) sleep(30) ConsoleWrite($i) run($i) hmh strange noticed if i start shortcut exe it wont start it.. if i start the normal one it does start :E
zutto Posted August 30, 2008 Author Posted August 30, 2008 hmh strange noticed if i start shortcut exe it wont start it.. if i start the normal one it does start :E yeah found out that it wont start shortcuts.. any way to parse .ink--> [.ink--> means .ink and all after it]
Zedna Posted August 30, 2008 Posted August 30, 2008 For shortcuts use ShellExecute instead of Run Resources UDF ResourcesEx UDF AutoIt Forum Search
system24 Posted August 31, 2008 Posted August 31, 2008 Shortcuts are .lnk, not .ink. [center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now