Question re Message

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
fladave
Junior Coder
Posts: 23
Joined: Wed Oct 26, 2011 1:51 pm

Question re Message

Post by fladave » Wed Mar 28, 2012 3:39 pm

Below is a code snippet -
Let>R=0
Repeat>R
Message>Load document face up and press SCAN and SCAN to PDF and select Reception PC.
Wait>DELAY
Let>R=R+1
IfWindowOpen>FOLDER
Let>R=0
SetFocus>Macro Scheduler Message
Wait>DELAY
Press Enter
ELSE
ENDIF
Until>R=0

I would like a message to appear until FOLDER appears then the message goes away. DELAY=0.3. Is this the best way to implement this? I read in another post tight loops prevent shift esc from stopping scripts.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Mar 28, 2012 3:41 pm

Something like this perhaps?

Message>Load document face up and press SCAN and SCAN to PDF and select Reception PC.
WaitWindowOpen>FOLDER
CloseWindow>Macro Scheduler Message
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts