I am trying to automate (Microsoft) Paint to paste and save with AutoHotKey while Paint is open behind a full screen program every time I press the PrtScn key. This is the sequence of events that I want to happen when I press PrtScn: I want Paint to
- Create a new image (workspace) (as if Ctrl+N had been typed),
- Paste (as if Ctrl+V had been typed), and
- Save As JPEG. (I have created Alt+4 as a keyboard shortcut for this in Paint.)
The tricky part is to enter consecutive numbers after each run. For example, if the last JPEG save I had was numbered 151, the next time I press PrtScn, I want to run that sequence and enter 152, 153, etc. And I want to keep Paint in the background.
Is this possible?