jimmyjmmy Posted April 22, 2007 Share Posted April 22, 2007 Hi, I am using windowsXP. I am writing a code to run another autoIT script at the desktop, eg counter.au3 How should I write. I check help but I could not find any. I tried using the RUN command but it wont execute the script. Thanks -------- my code --------- Run ("counter.au3","@DesktopCommonDir"); this line produce error "unable to execute the external program" Link to comment Share on other sites More sharing options...
Developers Jos Posted April 22, 2007 Developers Share Posted April 22, 2007 Hi,I am using windowsXP.I am writing a code to run another autoIT script at the desktop, eg counter.au3How should I write. I check help but I could not find any.I tried using the RUN command but it wont execute the script.Thanks-------- my code ---------Run ("counter.au3","@DesktopCommonDir"); this line produce error "unable to execute the external program"Use ShellExecute("counter.au3","","","Run") 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...
phantom Posted April 22, 2007 Share Posted April 22, 2007 (edited) Try looking up ShellExecute in the help file. EDIT: dam got beat Edited April 22, 2007 by phantom Link to comment Share on other sites More sharing options...
jimmyjmmy Posted April 22, 2007 Author Share Posted April 22, 2007 Use ShellExecute("counter.au3","","","Run")Thanks Phantom and JdeB 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