• 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: Fade Itunes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fade Itunes


  • Subject: Re: Fade Itunes
  • From: steve harley <email@hidden>
  • Date: Mon, 20 Sep 2004 13:48:11 -0600

on 20 Sep 2004, at 10:54 AM, Ron Rosson wrote:
Calling Applescript from Cocoa using an NSAppleScript object. Would like to
be able to fade out a currently playing song on iTunes.


here's a simple approach:


tell application "iTunes" set orig_vol to sound volume repeat with new_vol from orig_vol - 5 to 0 by -5 set sound volume to new_vol delay 1 end repeat stop -- playback set sound volume to orig_vol end tell

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Fade Itunes (From: Ron Rosson <email@hidden>)

  • Prev by Date: Re: application file id/can't find disk
  • Next by Date: Re: Fade Itunes
  • Previous by thread: Fade Itunes
  • Next by thread: Re: Fade Itunes
  • Index(es):
    • Date
    • Thread