Jump to content

small problem


erikson
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Moderators

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

2. Use RunWait().

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.

Link to comment
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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...