• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iTunes playpause vs. mute -> was "Removing Missing Tracks"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iTunes playpause vs. mute -> was "Removing Missing Tracks"


  • Subject: iTunes playpause vs. mute -> was "Removing Missing Tracks"
  • From: Pete Dako <email@hidden>
  • Date: Fri, 7 Feb 2003 02:14:38 -0500

try reducing your original 7 lines to just 1

sorry, Kai,

i thought i mentioned in my last reply, i'd already rewritten my script using another apple script verb "playpause " which has a kind of conditional statement built-in

It doesn't just mute it toggles iTUNES on/off completely... so you don't lose your place in the current playlist... but, thanks yes i did try
tell application "iTunes" to set mute to not mute
It's really neat that that indeed does work ...and that you can reduce all the if then conditional statements... however "Muting" only works as long as iTunes is playing...

Written like this
tell application "iTunes"
playpause
end tell
iTunes doesn't need to be playing.In fact iTunes doesn't even need to be already running.,,this script launches it too...I guess the tell statement takes care of that launch as the launch part at least will work with your script as well... Try it yourself.

By the way, I trigger this script with Youpi Key which is an excellent and FREE OSX QuicKey like utility from Phillipe Hupi in France http://perso.club-internet.fr/phupe/ thanks to whoever suggested it, i think it was someone on this list. it rocks!


Funny, Script Editor won't let you throw this bit of script down as one line like:
tell application "iTunes" playpause end tell .
But I really like the 2.0 contextual Menu thing , and the way Script Editor automatically pops down big blocks of code for you. That's pretty nice, isn't it?

thank you , Pete
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: iTunes playpause vs. mute -> was "Removing Missing Tracks"
      • From: David Glass <email@hidden>
  • Prev by Date: Mail Rules and Scripts
  • Next by Date: HELP Remove Missing Tracks from iTunes Library
  • Previous by thread: Re: Mail Rules and Scripts
  • Next by thread: Re: iTunes playpause vs. mute -> was "Removing Missing Tracks"
  • Index(es):
    • Date
    • Thread