• 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: Playing one song using iTunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing one song using iTunes


  • Subject: Re: Playing one song using iTunes
  • From: FWM <email@hidden>
  • Date: Sun, 9 Sep 2007 04:10:25 +0100

Thanks. I could not get the "once boolean" to work and in any case all the script would do it if were used was go onto the next song in the playlist, so instead I used "delay" by the song length by number of seconds. Here is my script:

Tell application "iTunes"
activate
plan track 1 of playlist "Library"
delay 160
quit
end tell

Now I just tell Cronnix to activate the script at a particular time. A simple variant for my alarms.


At 18:18 -0600 8/9/07, LuKreme wrote:
On 8-Sep-2007, at 15:39, FWM wrote:
Is there any way I can get an Applescript to tell iTunes to play one song of a particular name and then switch off at the exact second it finishes?

play [reference] [once boolean]


--
[The PSP] could have voice recognition too, so when you go "nyuuurrrrrrrr-uuuuuurrrrrrrrrrr-uuuuuuurrrrrrrrr" you go faster, and when you go "Iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii" you stop


_______________________________________________
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

_______________________________________________ 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: Playing one song using iTunes
      • From: Emmanuel <email@hidden>
References: 
 >Playing one song using iTunes (From: FWM <email@hidden>)
 >Re: Playing one song using iTunes (From: LuKreme <email@hidden>)

  • Prev by Date: Re: Script Icons in Eudora menu bar
  • Next by Date: Re: Playing one song using iTunes
  • Previous by thread: Re: Playing one song using iTunes
  • Next by thread: Re: Playing one song using iTunes
  • Index(es):
    • Date
    • Thread