Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > simple applescript question for itunes

simple applescript question for itunes
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2003
Status: Offline
Reply With Quote
Jun 3, 2004, 12:32 AM
 
itunes 4.5 no longer understands "set sound volume to myVar". i dug through the new dictionary and couldn't find what the syntax is supposed to be now. any ideas?

thanks.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jun 3, 2004, 05:24 AM
 
Uh, it still does here. It's a property of the application class.

Code:
tell application "iTunes" activate set sound volume to 50 end tell
(Note that the sound scale has changed to be logarithmic in 4.5, or so I hear).
     
Fresh-Faced Recruit
Join Date: Jul 2003
Status: Offline
Reply With Quote
Jun 7, 2004, 01:37 AM
 
that simple script doesn't even work for me. it activates itunes, but the volume does not change.

anyone know what's up?
     
Senior User
Join Date: Oct 2000
Location: Midwest
Status: Offline
Reply With Quote
Jun 7, 2004, 06:35 AM
 
What system version is running your machine?

Craig
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:34 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2