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


Click here to return to the 'Modified with fader and check to see if itunes is playing' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modified with fader and check to see if itunes is playing
Authored by: tbolt502 on Apr 23, '04 08:41:49PM

OK, so many of us probably live with Itunes on constantly. However, in the rare case that iTunes is not running, all of the scripts here would start iTunes.

Probably not sensible.

Using modified code from plenty of other postings here at MacOSXHints.com to check if an application is running means we can avoid starting iTuines if it is not running. Surround each of the two blocks which control the iTunes Volume with the following:

tell application "System Events"
	if (get name of processes contains "iTunes") then
-- THE iTunes VOLUME CONTROL ROUTINES GO HERE!

	end if
end tell
Just a wee note.

[ Reply to This | # ]
Modified with fader and check to see if itunes is playing
Authored by: Chris Biagini on Apr 25, '04 04:27:49PM

Beautiful! Fine work, gentlemen!



[ Reply to This | # ]