Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Add push/pop to hotkey command


  • Please log in to reply
No replies to this topic
adrianh
  • Members
  • 616 posts
  • Last active: Apr 07 2016 03:35 PM
  • Joined: 28 Oct 2012
It would be nice to be able to push/pop off hotkeys to make their bindings more dynamic. Such as this hotkey chording script.
~Shift::Hotkey *Alt, ShiftAlt, On
~Shift Up::Hotkey *Alt, , Off
ShiftAlt:
MsgBox Shift & Alt
return
It could be implemented like this:
~Shift::Hotkey *Alt, ShiftAlt, Push
~Shift Up::Hotkey *Alt, , Pop
ShiftAlt:
MsgBox Shift & Alt
return

Adrian

my library base
AHK_L is the bomb! With a whole lot of bug fixes, Unicode support, associative array objects, array like objects, classes and variadic functions, why wouldn't you switch?