Jump to content
Sign in to follow this  

Targeting a window

Recommended Posts


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("Some text")


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?






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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.