Sign in to follow this  
Followers 0
loki1982

How to get the focus of current window

2 posts in this topic

I must be over looking something obvious. Ive spent a while and cant seem to find exactly what I need.

What I need to do is simple. I click a webpage, hit a hotkey to save a reference to the page so that I can set focus to the page later on. The title of the page will be random so I cant set focus based on the title. I have a feeling im missing something easy.

Share this post


Link to post
Share on other sites



WinGetHandle() seems like what you're lookig for.

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