Jump to content

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("[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

 

 

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...