2 examples for osascript

{{ score }}
  # Open new window in the Finder on OS X
osascript -e 'tell app "Finder" to make new Finder window'

# Make computer sleep 10 seconds and announce when done with dialogue box
sleep 10; osascript -e 'tell app "System Events" to display dialog "10 seconds completed"'

# Change Mac volume level, can be from 0 to highest 7
osascript -e "set volume 7"
        
{{ score }}
  # Close the Application Safari
osascript -e 'quit app "safari.app"'