This is what I have :
Code: Select all
Gui, Add, Hotkey, x110 y30 w190 h21 vstartTaxiHotkey, Hotkey
Gui, Add, Button, x310 y29 w43 h23 gunsetStartTaxiHotkey, Unset
[...]
unsetStartTaxiHotkey:
vstopTaxiHotkey := None
Return
Code: Select all
Gui, Add, Hotkey, x110 y30 w190 h21 vstartTaxiHotkey, Hotkey
Gui, Add, Button, x310 y29 w43 h23 gunsetStartTaxiHotkey, Unset
[...]
unsetStartTaxiHotkey:
vstopTaxiHotkey := None
Return
Code: Select all
unsetStartTaxiHotkey:
startTaxiHotkey =
GuiControl,,startTaxiHotkey
Return
Code: Select all
startTaxiHotkey = GuiControl,,startTaxiHotkey
Code: Select all
startTaxiHotkey = GuiControl,,startTaxiHotkey
MsgBox % startTaxiHotkey