Jump to content

script for when window appears do this..


Recommended Posts

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

Link to post
Share on other sites

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

    No registered users viewing this page.

×
×
  • Create New...