Search found 3 matches
- 03 Feb 2023, 01:55
- Forum: Ask for Help (v1)
- Topic: Hotkey script able to disable another script.
- Replies: 3
- Views: 456
Re: Hotkey script able to disable another script.
I've managed to find how to do it simple added the State Up o the hotkey as an extra command and now it work as i wanted, thanks for the help!
- 03 Feb 2023, 00:54
- Forum: Ask for Help (v1)
- Topic: Hotkey script able to disable another script.
- Replies: 3
- Views: 456
Re: Hotkey script able to disable another script.
Hallo, perhaps ??: HF := HLShift := True Return *f:: Hotkey, *LShift, Off ;Switches Hotkey *LShift off HLShift := False if GetKeyState("f") Send {Blind}{f Up} else Send {Blind}{f Down} return F1::Hotkey, *f,% (HF:=!HF)?"On":"Off" ;Toggles Hotkey *f F3::ExitApp *LShift:: Hotkey, *f, Off ;Switches Ho...
- 01 Feb 2023, 23:21
- Forum: Ask for Help (v1)
- Topic: Hotkey script able to disable another script.
- Replies: 3
- Views: 456
Hotkey script able to disable another script.
Currently i use 2 separate scripts to make "F" and "SHIFT" keys work as Toggle keys: *f:: if GetKeyState("f") Send {Blind}{f Up} else Send {Blind}{f Down} return F1::Suspend, Toggle F3::ExitApp *LShift:: if GetKeyState("LShift") Send {Blind}{LShift Up} else Send {Blind}{LShift Down} return F2::Suspe...