Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'More Controls' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
More Controls
Authored by: jonathanmcd on Nov 21, '02 11:20:46AM

I thought this sounded like a great tip, and tried it right away. One thought I had is that sometimes I want to adjust iTunes volume without affecting the system volume, so I whipped up these quick additions:

tell application "iTunes"
set x to sound volume
set sound volume to (x + 5)
end tell

tell application "iTunes"
set x to sound volume
set sound volume to (x - 5)
end tell

I attached them to function keys, and voila! Works great!



[ Reply to This | # ]
More Controls
Authored by: bluehz on Nov 21, '02 11:45:47PM

These also work for volume control - raising and lowering iTunes volume only in +/-10 increments.

tell application "itunes"
set sound volume to sound volume + 10
end tell

and

tell application "itunes"
set sound volume to sound volume + 10
end tell



[ Reply to This | # ]
More Controls
Authored by: bluehz on Nov 21, '02 11:56:47PM

This will toggle mute off/on:

tell application "iTunes"
if mute is false then
set mute to true
else
set mute to false
end if
end tell

Wierd thing is - mute is not even mentioned in the iTunes Applescript dictionary.



[ Reply to This | # ]
More Controls
Authored by: bluehz on Nov 22, '02 12:37:07AM

If you install the iTunes Notifier - you can also script it to pull up theinfo on command:

In Youpi Key - Run Unix Command:
/Path/to/Library/PreferencePanes/PTHiTunesNotifier.prefPane/Contents/MacOS/PTHiTunesNotifier.app/Contents/MacOS/PTHiTunesNotifier &

(cmd above all on one line)

Now if I could just figure out how to get it to display the second line of a stream...for instance Radio Paradise toggles the display between the standard Radio Paradise blurb and the current song title/artist. For some reason iTunes Notifier will only display the Radio Paradise blurb, never the actual song title/artist.

Also mute is in the dictionary - under Application



[ Reply to This | # ]
More Controls
Authored by: Jimmy Flamenco on Nov 22, '02 02:42:22AM

Instead of the if-then construction you can just type

tell application "iTunes"
set mute to not mute
end tell



[ Reply to This | # ]