Sign in to follow this  
Followers 0
tkjerulf

GUI ON EVENT

3 posts in this topic

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



#2 ·  Posted (edited)

Perhaps this will do it:

If NOT WinActive("window_name")

Edited by MrBeatnik

Please correct me if I am wrong in any of my posts. I like learning from my mistakes too.

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  
Followers 0