Sign in to follow this  
Followers 0
LoneReaper

constant if

4 posts in this topic

is it possible to have an if statement always running? There is an error message that pops up on occassion when im shipping orders and it comes up at different times so i dont want to have to put an if statement in many places unless i have to. here is the statement i would like to always run.

If WinActive("DAZzle Designer 2004", "The Delivery Confirmation area should not be covered by any other item.") Then

Send("{ENTER}")

WinActivate("FileMaker Pro")

WinWaitActive("FileMaker Pro")

Send("^2")

EndIf

Share this post


Link to post
Share on other sites



read about while

while 1

;your script

sleep(10)

wend

will run forever.


"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

AdLib may also be something to use in this case (Provided I understand you correctly).

Share this post


Link to post
Share on other sites

AdLib may also be something to use in this case (Provided I understand you correctly).

yeah, adlib would be good if it's in the middle of another script that this messagebox occurs.

"I'm not even supposed to be here today!" -Dante (Hicks)

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