I tried resetting the keyboard hooks, but that didn't seem to help. Here's the code for the macro
<TEXTTYPE:<ALT><RCTRL><PRTSCR>><CLIPST2:0:C:\PRINT.TXT><DELAY:1><LAUNCHDEL2:0:01C:\WINDOWS\NOTEPAD.EXE<PARAM>/p c:\print.txt3><WRES:pms><DOHOOK>
Here's what it does.
We have an old dos program called Preventative Maintenance System or PMS for short. While it's ancient, it still works very well in tracking our truck maintenance. One of the print functions of the program is to press shift printscreen, and that causes the program to send the current screen to the printer as characters, and it prints exactly what you are looking at. This doesn't work in windows XP. As a workaround, I'm having macro express press alt, right control, printscreen which sends the current screen to the clipboard as characters. I then use macro express to save the clipboard to a text file, and use notepad in command line mode to print the document. When the document is printed, it causes the dos windows to lose focus, so macro express then restores focus to the PMS program. Once focus is restored, macro express no longer catches key presses.
I've tried a few experiments, and this happens even if I leave the program windowed. I thought maybe macro express was leaving the alt key or the ctrl key pressed down (I've had that problem before), but even if I don't run a macro, open the PMS program, alt tab out an back into the PMS program, macro express still no longer captures key presses.