(Here is my code)
Code: Select all
F1::Hotkey, LButton, Toggle
LButton::
SendInput {LButton}
Random, SleepAmount, 92, 117
Sleep, %SleepAmount%
SendInput {RButton}
return
F10::ExitApp
Code: Select all
F1::Hotkey, LButton, Toggle
LButton::
SendInput {LButton}
Random, SleepAmount, 92, 117
Sleep, %SleepAmount%
SendInput {RButton}
return
F10::ExitApp
Code: Select all
F1::
Hotkey, LButton, Toggle
toggle := !toggle
SoundBeep, % toggle ? 1500 : 1000, 20
Return
Thank you for your help and I just want to know, will this work with SoundPlay by chance (If yes would I just replace the SoundBeep or is it some other way)? Or will that require different code?mikeyww wrote: ↑13 Sep 2020, 13:46Code: Select all
F1:: Hotkey, LButton, Toggle toggle := !toggle SoundBeep, % toggle ? 1500 : 1000, 20 Return