jimmyjmmy Posted April 22, 2007 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"
Developers Jos Posted April 22, 2007 Developers 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.
phantom Posted April 22, 2007 Posted April 22, 2007 (edited) Try looking up ShellExecute in the help file. EDIT: dam got beat Edited April 22, 2007 by phantom
jimmyjmmy Posted April 22, 2007 Author Posted April 22, 2007 Use ShellExecute("counter.au3","","","Run")Thanks Phantom and JdeB
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