Jump to content
Sign in to follow this  
tkjerulf

GUI ON EVENT

Recommended Posts

Hi

I need to make a script, that checks if a specific GUI gets focus -

Using this one: GUISetOnEvent($GUI_EVENT_MOUSEMOVE, "LostFocus") i can check if the mouse moves,

but how do i check if the running GUI looses focus? or is it even possible?

kind

T :lmao:

Share this post


Link to post
Share on other sites

Perhaps this will do it:

If NOT WinActive("window_name")

Thanks alot, worked great, was getting toooooo focused on using the eventmanager, used above within the idle routine.

much thanks. :lmao:

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  

×
×
  • Create New...