fctd Posted January 15, 2009 Share 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] Link to comment Share on other sites More sharing options...
Zedna Posted January 15, 2009 Share 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 Link to comment Share on other sites More sharing options...
fctd Posted January 15, 2009 Author Share 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] Link to comment Share on other sites More sharing options...
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