Monday, July 16, 2018

#1 2003-04-14 10:02:27 am

Ray Barber
Site Admin
From:: Lake Dallas, Texas
Registered: 2002-11-20
Posts: 348
Website

myTunes iTunes

This script will make iTunes play regardless of its current state. From the AppleScript Users List.

OS version: OS X

Applescript:

tell application "iTunes"
   set myState to player state
   if myState is playing then
       pause
       return "Pause"
   else if myState is paused then
       play
       return "Play"
   else if myState is stopped then
       play
       return "Play"
   else
       resume
       return "Resume"
   end if
end tell


Ray Barber
Admin | MacScripter


Filed under: iTunes

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)