fctd Posted January 15, 2009 Posted January 15, 2009 Hello, I want to start an external program, and open it with a file, that is added to my script. Like this. ; === Add file to script === #AutoIt3Wrapper_Res_File_Add=README.txt , file, APP_FILE ; === Execute Application with added file === $app = ShellExecute("Notepad.exe", "APP_FILE" )oÝ÷ Øhmëb· ++"¶,²&åzí+0k$ázÜm~)^ÊeiÇ{azƦz«-ë®*m~)^jëh×6$app = ShellExecute("Notepad.exe", "README.txt" ) ;This works fine, but then the file is not added to the script. Thanks. [list][font="Century Gothic"]If nothing is certain, everything is possible.[/font][/list][font="Century Gothic"]Experience is something you get, just after you need it.[/font]
Zedna Posted January 15, 2009 Posted January 15, 2009 Look at my resources UDF to see what's possiblehttp://www.autoitscript.com/forum/index.php?showtopic=51103ShellExecute in your way is not possible. Resources UDF ResourcesEx UDF AutoIt Forum Search
fctd Posted January 15, 2009 Author Posted January 15, 2009 Thanks Zedna, I will just place the file beside the script, not in it. Greetings. [list][font="Century Gothic"]If nothing is certain, everything is possible.[/font][/list][font="Century Gothic"]Experience is something you get, just after you need it.[/font]
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