SHARE
TWEET

toggle checkbox

shiftdot515 Jul 27th, 2019 108 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "iTunes"
  2.     set sel to selection
  3.     set is_ct to player position is not missing value
  4.     if sel is {} and is_ct then
  5.         set sel to current track as list
  6.     end if
  7.     repeat with aTrack in sel
  8.         tell aTrack
  9.             try
  10.                 set enabled to not (get enabled)
  11.             end try
  12.         end tell
  13.     end repeat
  14. end tell
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top