Sunday, November 27, 2022

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

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

myTunes iTunes

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

OS version: OS X


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

Ray Barber
Admin | MacScripter

Filed under: iTunes



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)