I was wondering if there is a way to send the print command (I assume keys to send {LEFTCTRL}p) to the current active window and have it print said window. I cannot get this to work for some reason.
To take it a step further i was wondering if i could get it to print to PDF and to print to my default printer.
Any help is appreciated.
Sending print to active window
Re: Sending print to active window
Interesting, I would have thought it would work but it didn't. I suspect it is because when you select the active window the program may be wanting to stick with that one, but the problem is the ctrl p command opens up a new window. I'll have to play with this a bit and perhaps may even need to make a code change.
-
- Posts: 1
- Joined: Sat Jun 22, 2019 3:44 pm
Re: Sending print to active window
So did it work with {LEFTCTRL} ?
Re: Sending print to active window
Actually, the code was fine, and I got it to work (with the active program running on the desktop being chrome as a test).
On the Push2Run card the Open filed was set to:
active window
and the Keys to send were set to:
{LEFTCTRL}P{WAIT999}{ENTER}
On the Push2Run card the Open filed was set to:
active window
and the Keys to send were set to:
{LEFTCTRL}P{WAIT999}{ENTER}