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


Click here to return to the 'Listen to an hourly CNN news update podcast' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Listen to an hourly CNN news update podcast
Authored by: Ranger Rick on Jul 22, '05 05:05:29PM

this script wants to start my iTunes whether it's running or not... the "tell application iTunes" bit in ps_play_next_ref opens itunes if it's not already running (if I comment that part out it doesn't)

I tried digging into it but I'm an applescript newbie, even wrapping that function with the "name of processes" bit doesn't stop it.

Any ideas why?



[ Reply to This | # ]
Listen to an hourly CNN news update podcast
Authored by: Ranger Rick on Jul 22, '05 05:29:52PM

I stand corrected, even the first tell application "iTunes" part opens itunes when it wasn't already running. :P



[ Reply to This | # ]
Listen to an hourly CNN news update podcast
Authored by: rmiller021 on Aug 01, '05 05:08:47PM

tell application "System Events"
	if application process "iTunes" exists then
		tell application "iTunes"
			--code for itunes
		end tell
	end if
end tell

---
I have no clue what i am doing

[ Reply to This | # ]