Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
montanan
- Junior Coder
- Posts: 49
- Joined: Mon Jul 09, 2007 3:44 pm
- Location: San Jose, CA
Post
by montanan » Wed Jan 06, 2010 8:41 pm
I have tried a number of variations on the following...
Code: Select all
Let>WW_TIMEOUT=30
Run>C:\Program Files (x86)\Mozilla Firefox\firefox.exe
WaitWindowOpen>Mozilla Firefox*
IfWindowOpen>Mozilla Firefox*,AffirmMsg,NegMsg
Label>AffirmMsg
Msg>I can see Firefox
Label>NegMsg
Msg>I can't see Firefox
... but nothing seems to work to force Macro Scheduler to wait long enough for the window to actually open before the script moves on to the IfWindowOpen step
I've tried...
WaitWindowOpen>firefox*
WaitWindowOpen>Firefox*
... but no luck so far.
-
montanan
- Junior Coder
- Posts: 49
- Joined: Mon Jul 09, 2007 3:44 pm
- Location: San Jose, CA
Post
by montanan » Wed Jan 06, 2010 10:05 pm
Thank you, JRL.
The post you referenced was very informative. Browsers just act differently from other Windows apps, it seems.
I also tried...
WaitReady>0
... and ...
WaitReady>1
... but no luck.
I can certainly use image recognition, so that's what I'll do!
-Richard