paperlined.org
apps
>
autohotkey
document updated 15 years ago, on Jan 30, 2009
Useful general-purpose routines that almost should be included in a CPAN-like repository for AHK.
Larger chunks of code
execute dynamic commands
Common Language Runtime / .NET Framework Interop
read the contents of a DOS window
(not tested myself yet)
sometimes prefered:
capture STDOUT of a command, without ever popping up a DOS window
execute arbitrary bytecode
(yes, batman, you too can be as fucking dangerous as you want)
get a process's command line
ProcessGetCommandLine()
(wow)
[1]
best way to implement volume OSD
(search for "experiment 3")
when a window is minimized, hide it and put an icon in the tray for it. When that window is restored, remove its tray icon
change MSIE's proxy settings
Windows API wrappers
FindWindow()
— does a hierarchical search for the specified window
Fetch a process's command-line
a window's system menu (AKA control menu, AKA window menu)
WinMenuSelectItem for system menus
ShellFileOperation()
- do file copies/moves with a progress bar
Not modular, but likely useful later anyway
autohotkey.com/docs/misc/*
list all processes, with their command line
other lists
Skrommel's coding snacks