Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Sending key to an unactivated window?

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

The code I use is this:

[ autoit ]      
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)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>