Sign in to follow this  
Followers 0
lawonama

Sending key to an unactivated window?

2 posts in this topic

Well hello there, I'm trying to send keys to an un-opened (unactivated?) window.

The code I use is this:

Func start()
ControlSend("[CLASS:Notepad]", "", "", "Hello {Enter}")
EndFunc


While 1
HotKeySet("{F2}","start")
Wend

Yet it only works when I have the NotePad opened.

I want it to work when the page is on minus. (On the taskbar but not open)

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