JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

AutoHotkey Tutorials & Guides

Practical AutoHotkey tutorials, troubleshooting notes and implementation guides from real projects.

Advanced search

20 entries / AutoHotkey

Clear filters
AutoHotkey Format Date and Format Seconds
AutoHotkey

AutoHotkey Format Date and Format Seconds

As you can tell these are my messed up functions that convert dates into seconds and vice-versa. They're a little disorganised but they're the ones I copy and paste to my scripts then modify. In it's straightforward form FormatTime( TimeString, Format )

Read note 29,349 hits
Format Numbers in AutoHotkey with Commas
AutoHotkey

Format Numbers in AutoHotkey with Commas

Just a quick note as I use this function in various scripts. This adds the 1000th separator comma: FormatAddCommas(val) { Result:=val StringLen, OutputVar, Result NumLoop := (OutputVar // 3) DNum = 3 Loop, % (NumLoop+1) StringLen, OutputVar, Result Loop, %OutputVar% { FirstChar:=Substr(Result, 1, 1) IfEqual, FirstChar...

Read note 24,328 hits
Mouseover Links in AutoHotkey
AutoHotkey

Mouseover Links in AutoHotkey

What's this all about? Well I want the basic hover effect: when my mouse cursor hovers over a link, I want that link to turn blue and display an underline. When I move the cursor away from the link, I want the link returned to black without an underline. How?

Read note 32,044 hits
Win32 Constants
AutoHotkey

Win32 Constants

Apologies for copying this from another source but with lots of OpenSource developers disappearing and reappearing, the content is what I don't want to lose.

Read note 85,013 hits
AutoHotkey Ternary Operator
AutoHotkey

AutoHotkey Ternary Operator

Just a quick note for the moment on how to use ternary operators in AutoHotkey. A ternary operator for those who are unfamiliar with this is an "If...Then...Else..." statement written in a small amount of code, usually on one line, and exists in most programming languages. For Example, the statement: If (ThisCondition...

Read note 24,401 hits
Write a Calendar in Autohotkey
AutoHotkey

Write a Calendar in Autohotkey

In this case, I want to display the current month with today highlighted. As I was trying to get my head round writing this in a program using the qHTM.dll (to include HTML in an autohotkey GUI), the calendar will be in a HTML-autohotkey mixed code. Obviously just omit the HTML rubbish if you want to create a calendar...

Read note 36,332 hits
Add Image Mouseover effect in AutoHotkey GUI
AutoHotkey

Add Image Mouseover effect in AutoHotkey GUI

Couldn't find this anywhere on the net and kinda needed it so am making a note of how to do it here. The issue is that I wanted to make my autohotkey program change the image that the mouse hovers over (within it's own GUI). No third-party component or dll needed, just a slight modification to the mousemove tooltip in...

Read note 264,048 hits

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
810 Site articles
29.7m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.