I want to have my app which is minimized to capture data selected in another app's window when the hot key is pressed. My app definitely doesn't have the focus. Additionally when the hot key is pressed I want to present a fading popup (Outlook style) so my app never gets focus.
At a minimum I want to capture the Window name, Process ID and the selected data. The app which has focus is not my application?
I know one option is to sniff the Clipboard, but are there any other solutions.
This is to audit the rate of data-entry in to another system of which I have no control. It is a mainframe emulation client program(attachmate aka java-hosted telnet with 3250 support).
The plan is
- complete data entry in Application X.
- Select a certain section of the screen in App X which is proof of data entry (transaction ID).
- Press the Magic Hotkey, which then 'sends' the selection to my App.
- From System.environment or system.Threading I can find the Windows logon.
- Similiarly I can also capture the time.
- All the data will be logged to SQL.
- Once Complete show Outlook style pop up saying the data entry has been logged.
Any thoughts.