Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

run two programs with one script


  • Please log in to reply
1 reply to this topic
jeremywlee
  • Guests
  • Last active:
  • Joined: --
I'm trying to run more that one program with one script.I tried this script and the only one that comes up is the explorer.....Can anyone tell me why?

This is the script ------

Run, C:\WINDOWS\Explorer.exe
WinWait, Accounts - AceMoney,
Run, C:\Program Files\AceMoney\AceMoney.exe
WinWait, Exploring - Leecom (C:),

Thanks,
Jeremy

beardboy
  • Members
  • 443 posts
  • Last active: May 27 2017 08:41 AM
  • Joined: 02 Mar 2004
Jeremy,

Your script is stuck waiting for the Accounts - AceMoney window. The "WinWait, Accounts - AceMoney," line is waiting for a window with that title to exist but it never does. You should run the program and then have it wait for the window to exist.

Run, C:\WINDOWS\Explorer.exe 
WinWait, Exploring - 
Run, C:\Program Files\AceMoney\AceMoney.exe 
WinWait, Accounts - AceMoney

thanks,
beardboy