I have the following AppleScript but I keep getting syntax error when trying to add shared_secret:
if output volume of (get volume settings) > 0 then
tell application "BetterTouchTool" shared_secret "123"
trigger_action "{
BTTActionCategory: 0,
BTTIsPureAction: 1,
BTTPredefinedActionType: 373,
BTTPredefinedActionName: 'Set System Volume',
BTTGenericActionConfig: '10',
BTTEnabled2: 1,
}"
end tell
end if