• 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
Re: AppleScript (bug?) in iTunes on El Capitan
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript (bug?) in iTunes on El Capitan


  • Subject: Re: AppleScript (bug?) in iTunes on El Capitan
  • From: Doug Adams <email@hidden>
  • Date: Sun, 04 Oct 2015 15:42:54 -0400

> On Oct 4, 2015, at 11:34 AM, Lists wrote:
>
> The following script has worked since Snow Leopard. Now, under El Capitan, the “with once” instruction is ignored and the entire playlist plays. With once is still in the iTunes dictionary however.
>
> tell application "iTunes"
> 	set x to some track of playlist "QuickPlay"
> 	tell x to play with once
> end tell
>
> Does anyone know another way to have a random track from a playlist play and then stop when the track finishes playing. Perhaps Keyboard Maestro?

This script works for me with iTunes 12.3 in OS X 10.11. What kind of tracks are in the playlist? Are any "dead"?

Doug
--
dougscripts.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: AppleScript (bug?) in iTunes on El Capitan
      • From: Lists <email@hidden>
    • Re: AppleScript (bug?) in iTunes on El Capitan
      • From: Deivy Petrescu <email@hidden>
  • Prev by Date: XML-RPC
  • Next by Date: Re: AppleScript (bug?) in iTunes on El Capitan
  • Previous by thread: AppleScript (bug?) in iTunes on El Capitan
  • Next by thread: Re: AppleScript (bug?) in iTunes on El Capitan
  • Index(es):
    • Date
    • Thread