Code: Select all
#IfWinActive ahk_class Notepad++
+!1::
+!2::
; Call Style Configurator:
Send !t{down}{enter}
; give control plenty of time to build up:
sleep 3000
; choose the string:
if (A_ThisHotkey="+!1")
Control ChooseString, Courier New, ComboBox2
else
GuiControl, ChooseString, ComboBox2, Courier New
Return