Action
Audio (Shell)
Audio based on using a shell script to play a sound file on the Mac
Steps
-
defineTemplateTag
name audio
template /System/Library/Sounds/Purr.aiff
-
script
ShellScript.create(`#!/bin/zsh\nafplay ${draft.getTemplateTag("audio")}`).execute();
Options
-
After Success Default Notification Error Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.