software:autohotkey
Differences
This shows you the differences between two versions of the page.
| software:autohotkey [2023-08-26 17:30] – created dave | software:autohotkey [2023-11-21 20:16] (current) – dave | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ---- | ---- | ||
| - | The startup script for AHK is in the same directory as the AutoHotKey executable and has the same name but with a .ahk extension. | + | The startup script for AHK is in the same directory as the AutoHotKey executable and has the same name but with a .ahk extension. |
| ---- | ---- | ||
| + | ===== AHK Time Zone ===== | ||
| + | To get the time zone on Windows: | ||
| + | Run "w32tm /tz" and parse the bit after " | ||
| + | |||
| + | < | ||
| + | w32tm /tz | ||
| + | Time zone: Current: | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | :*:;tz:: | ||
| + | RegREad, TimeZone, HKEY_LOCAL_MACHINE, | ||
| + | if (InStr(TimeZone, | ||
| + | TimeZone := " | ||
| + | else if (InStr(TimeZone, | ||
| + | TimeZone := " | ||
| + | else | ||
| + | TimeZone := " | ||
| + | |||
| + | SendInput, %TimeZone% | ||
| + | Return | ||
| + | </ | ||
software/autohotkey.1693071031.txt.gz · Last modified: by dave
