Jump to content

constant if


LoneReaper
 Share

Recommended Posts

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

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

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...