Numpad
Re: Numpad
Code: Select all
Numpad3 Up::
KeyWait, Numpad3, DT.3
If ErrorLevel
Send Once
Else Send Twice
Return
Re: Numpad
Mikey to the rescue. Anyways what I am trying to do is run this script with Numpad33 as the hotkey. What you sent me does not work unless I did something wrong which is entirely possible.
Code: Select all
Numpad3 Up::
KeyWait, Numpad3, DT.3
If ErrorLevel
Send Once
Else Send Twice
Return
Run, E:\PortableApps\PortableApps\AutoHotkeyPortable\AHK Scripts\Startup menu.ahk
Re: Numpad
Unlabeled code following Return is unreachable. Follow the script line by line to see what it does. Perhaps:
An alternative is Input.
Code: Select all
Numpad3 Up::
KeyWait, Numpad3, DT.4
If ErrorLevel
Send {Numpad3}
Else Run, E:\PortableApps\PortableApps\AutoHotkeyPortable\AHK Scripts\Startup menu.ahk
Return
Re: Numpad
Perfect Mikey. Works like a charm. Knew I was doing something wrong. Must remember that I can't just fire unlabeled code and expect it to work. Even in Ahk. Tk's again Mikey.
Re: Numpad
Outside functions, the only place for unlabeled code would be the auto-execute section. Cheers!