I need to add to this code a BEEP sound so when I press the trigger button (which is *) there is a beep sound. Can you advise me how to update it to do this using the software.
Thankyou
the response to string * is
COMMAND
CoordMode, Mouse, Screen
MouseMove, 1012, 620
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Please help me with my code
You can use the following command to emit the default beep sound from the speaker.
Code: Select all
SoundPlay *-1
Then try one of these:
Code: Select all
SoundBeep ; Play the default pitch and duration.
SoundBeep, 750, 500 ; Play a higher pitch for half a second.
I dont know if Im putting it in wrong...Im very inexperienced with this but there are no sounds as a result. This is how Im putting it in..Tom wrote: ↑Feb 3rd, ’23, 22:13 Then try one of these:Code: Select all
SoundBeep ; Play the default pitch and duration. SoundBeep, 750, 500 ; Play a higher pitch for half a second.
CoordMode, Mouse, Screen
MouseMove, 1012, 620
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
Send, {LButton}
Sleep, 700
SoundPlay *-1
SoundBeep
SoundBeep, 750, 500
Can you tell me if the code text is correctly written out for the sound to be produced?
Thank you Tom for your help
All three should work. Maybe check your audio settings.