Code: Select all
I wish to automate the printing of crossword puzzles from the Daily Telegraph website.
Manually the procedure is to click on the PRINT button for the desired puzzle, when it appears press Ctrl and Shift and p, which brings up the quick print window on top of the puzzle with the cursor already on the Print button and then Click which causes printing.
In AHK I tried
#t::
Click
Send, {Ctrl Down} {Shift Down} p {Ctrl Up} {Shift Up}
Click
Return
Each line separately seems to do what is needed, but in contrast to the manual procedure the Send line clears the screen, and hence I print a blank sheet of paper.
I suspect the problem relates to active and passive screens and would welcome advice on this point.
Regards