Sign in to follow this  
Followers 0
Grantson

Targeting a window

4 posts in this topic

Hi Guys

 

I just came back to a little clip board app i put together a couple of years ago 

Basically using hot keys to send hard coded text to the previously active window 

essentially (Excuse the wonky pseudo code 

 

Func OnButtonPress()
    send("[Alt][TAB]")
    Send("Some text")
EndFunc

 

There's a little bit of functionality id like to add if possible, 
When the app starts id like to be able to pick a target window and then send text to that

Is there a way to click  on an active window and pass its information to a variable?

Thanks

Grant

 

 

 

Share this post


Link to post
Share on other sites



WIndow title, text, Handle, 

Anything I can assign to a variable to target the window 

 

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