Sign in to follow this  
Followers 0
jimmyjmmy

what is the code to run a autoIT script

4 posts in this topic

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"

Share this post


Link to post
Share on other sites



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"

Use ShellExecute("counter.au3","","","Run")

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Try looking up ShellExecute in the help file.

EDIT: dam got beat :shocked:

Edited by phantom

Share this post


Link to post
Share on other sites

Use ShellExecute("counter.au3","","","Run")

Thanks Phantom and JdeB

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0