AutoHotkey Tip of the Week: Quick and Dirty Printing—September 30, 2019

If You Need a Hardcopy, Then You Can Use this AutoHotkey Print Technique—Plus a Cheap Way to Get Printer Ink


Every once in a while you want to put something on paper. Most often, you open the appropriate program (i.e. a text editor or word processor for text documents, PDF viewer for PDFs, or graphics program for images) and print from that application. Trying to use AutoHotkey for direct printing can get pretty complicated (as discussed in Section 10.1.1 “Printing with AutoHotkey Made Simple” of the book Jack’s Motley Assortment of AutoHotkey Tips). But, for a quick printout, you can write an AutoHotkey line of code which sends a document to the printer from a program—without first opening the app.

Continue reading

Add Single-Key Shortcuts to QuickLinks App (AutoHotkey Quick Tip)

Reader Uses Menu Shortcut Keys to Speedup QuickLinks.ahk Action

Alan posted the following comment on Pressing GUI Buttons with a Single Keystroke (AutoHotkey Tip):

Hi, Jack,

Thanks for making such useful contributions to AHK.

I found QuickLinks to be useful but then was looking to make it even more helpful by having key shortcuts. I figured out how to do it! You can let others know if you can point out adding an ampersand in front of the letter of the folder or shortcut.



*          *          *

I’m gratified that a number of people are using and modifying the QuickLinks.ahk script. It’s evolved considerably since I first introduce the barebones version in the book Digging Deeper Into AutoHotkey. In AutoHotkey Applications, I added icons using the Menu,…,Icon, command. In my most recent Motley Assortment of AutoHotkey Tips, I modified the script to add a number of other features. More recently, I wrote a blog which highlighted changes increasing the power of the script by another reader, “Open and Print Files with the QuickLinks App (AutoHotkey Tip from a Reader)“. In all that time, I never thought to talk about using the single-key shortcut menu technique available in all Windows menus with the QuickLinks.ahk script. Continue reading