Code: Select all
F2::
inputbox,input, enter something...
send %input%
return
::aa::
send 1{enter}
send 2{enter}
return
When I try it out the hotstring triggers instantly in the inputbox and I only get "1" in notepad.
Code: Select all
F2::
inputbox,input, enter something...
send %input%
return
::aa::
send 1{enter}
send 2{enter}
return
Code: Select all
F2::
Inputbox, input, enter something...
If IsLabel("::" input "_")
Gosub, % "::" input "_"
Else
Send %input%
WinClassOutputVar:=""
Return
::aa_::
Send 1{enter}
Send 2{enter}
Return
Code: Select all
Hotstring("(\b[A-O])(\d)(\d)([012])\s","expand3",3)
Expand3:
{
Send % ($.value(4) = 0 ? "^kPLOCK_LOW{ENTER}PLOCK_LOW." : "^kPLOCK{ENTER}PLOCK.") $.value(1) "." $.value(2) $.value(3) "." $.value(4)"{ENTER 3}"
}
Return
Code: Select all
F2::
Inputbox, input, enter something...
input:=convert(input)
Send % input
Return
Users browsing this forum: Google [Bot] and 378 guests