Advertisement
Guest User

Untitled

a guest
Nov 20th, 2016
1,382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Change to volume before starting true/false
  2. property setVolume : true
  3.  
  4. -- The volume to set to 0-100
  5. property startVolume : 100
  6. -----------------------------------------------------------------------------------
  7. tell application "Spotify"
  8.     if setVolume then
  9.         set sound volume to startVolume
  10.     end if
  11.    
  12.     play
  13. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement