Commands & Syntax > Commands > User Interaction >

www.perfectkeyboard.com

 

SOUND - < beep >() ... [Pro]

 

SOUND
<beep>("Sound file",Repeat)
Available in: Professional edition

This command plays user defined sound (.wav file) or just beeps.

 

#

Parameter name

Parameter description

1

Sound file

Full path to the file (.wav) to play. If empty then just a beep is played.

2

Repeat

How many times the sound should be repeated.

 

Example (Macro Steps):

 

1

<#> <#> This macro will play the sound file you select

2

Macro execution: ONLY COMMANDS

3

Variable OPERATION "SELECT_FILE" (Variable for result = vSoundFile, Input text/variable = , Parameter 1 = Select File, Parameter 2 = , Parameter 3 = 0)

4

SOUND play sound "%vSoundFile%" for "1" times

Example (Plain Text):

 

<#> This macro will play the sound file you select

<#>

<cmds>

<var_oper>(vSoundFile,"",SELECT_FILE,"Select File","", "0")

<beep>("%vSoundFile%",1)