I’m trying to modify an AHK script I like but don’t quite completely understand.
What does the asterisk mean at the beginning of this line of script?
*capslock::
Does the pair of colons at the end mean this line is only part of the statement? Does it continue to the next line?
Fires the hotkey regardless of the modifiers being held down.
http://www.autohotkey.com/docs/Hotkeys.htm
Edit:
Hm, didn’t see the second part.
If you have a single statement, you put it all on one line like above. If you have multiple statements, you must put a newline after the
::and have areturnat the end.I have a way of using the
capslockkey as a modifier that I like better: