Jump to content

Recommended Posts

Posted

Hey. Is there a way to make a script look for when a window is CREATED? I have a simple script which continuously looks for if a window is there and performs an action, but this of course is repeated while the window is active. I only want it to do something when the window is CREATED.

Thanks

Posted (edited)

You could do something along these lines:

Edit: Removed. Larry's speak is better. Or you might try something like:

while (1)
    winWait("title", "text")
   ; my instructions here
    winWaitClose("title", "text")
wEnd
Edited by LxP
Posted

Thanks a million guys! By the way, Larry, I've only asked 1 other question on this forum before which was about a year ago and you were also the first to reply then with an answer. Nice work!!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...