Sign in to follow this  
Followers 0
erikson

small problem

3 posts in this topic

hi codemasters!

so i have a little question

i make a script..

in this script i run a command like

run ("c:\program files\office\word.exe")

after this command i run another one like

run ("c:\c:\program files\office\exel.exe")

all i whant is that the second command wait for the first one to end before start

Share this post


Link to post
Share on other sites



1. Your "c:\c:\program files\office\exel.exe" doesn't look right in the 2nd "run" scenerio.

2. Use RunWait().


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

1. Your "c:\c:\program files\office\exel.exe" doesn't look right in the 2nd "run" scenerio.

2. Use RunWait().

thanks for the answer

sorry for the mistake ""c:\c:\program files"

lets supose that the 1`st program that i run it take aprox 20 sec to load. can i make a window (gui) with a message "please wait " and after the run program completed that window dissapear?

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