-TS- Posted August 5, 2009 Share Posted August 5, 2009 When I try to use 'ShellExecute' to run an opensource script remotely, it runs it as 'edit', not as 'run'. Ive tried making the script as an exe, the .exe process of autoit collides with background programs? also it gets rather annoying having to delete the old exe an recompile the newly edited au3 script when editing something small. Maybe I am missing something small an need a new set of eyes to point out the error. Much thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 5, 2009 Developers Share Posted August 5, 2009 When I try to use 'ShellExecute' to run an opensource script remotely, it runs it as 'edit', not as 'run'.Ive tried making the script as an exe, the .exe process of autoit collides with background programs? also it gets rather annoying having to delete the old exe an recompile the newly edited au3 script when editing something small.Maybe I am missing something small an need a new set of eyes to point out the error.Much thanks.Your default is likely set to "EDIT" for .au3. Did you specify the VERB parameter on ShellExecute() ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
-TS- Posted August 5, 2009 Author Share Posted August 5, 2009 Knowing that double clicking would edit something, then trying to make it run by editing it would be like... putting a music cd into your comp, then getting into your car to listen to it... But I tried the VERB commands on the list on the help file ex; open, then I though Id throw RUN in the parameter, an tada >_< Thank you for re-pointing that section out for me. 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