SAFR Actions runs as a Windows Service and in this mode cannot perform interactive actions on the PC such as play a sound. To play a sound, SAFR Actions must be run as a command line app. This can be done as follows:
cd “C:\Program Files\RealNetworks\SAFR\ares” “C:\Program Files\RealNetworks\SAFR\jdk\bin\java” -jar ares.jar
When run like this, commands that play sounds may be used such as the following python script placed inside the SAFR Actions "scripts" directory:
import winsound winsound.MessageBeep(1)
The script can be invoked from SAFRActions.config file as follows: