Ok, i know how to sendkeys, thats easy, say if i wanted Control + F i would do
VB Code:
Sendkeys "^F", 0
Thats simple enough, BUT i need to send Ctrl + F to the last active window, would fire the Find dialog.
How would i go about sending the keys to the previously active window ?
Note: My application will be run from a shortcut key on a keyboard and this is why its needed to send its keys to the previous window, it Unloads itself after its task is complete.




Reply With Quote