in reply to Re: Manually Select a Windows Windowin thread Manually Select a Windows Window
No way to have Perl wait for a mouse click on any window and then send the data?
See GetAsyncKeyState function (Windows) and https://metacpan.org/pod/Win32::GuiTest::Examples#eg/keypress.pl