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


Click here to return to the 'Quick add currently-playing track to an iTunes playlist' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quick add currently-playing track to an iTunes playlist
Authored by: DougAdams on Jul 13, '09 07:54:59AM
Man, that "ok_flag" routine is clunky. How about:
on itunes_is_running()
	tell application "System Events" to return (exists process "iTunes")
end itunes_is_running

---
Doug's AppleScripts for iTunes
dougscripts.com

[ Reply to This | # ]

Quick add currently-playing track to an iTunes playlist
Authored by: midget2000x on Jul 13, '09 09:25:44AM

Noted. Thanks for the tip! It's probably completely unnecessary anyway, because it's highly unlikely that iTunes *doesn't* exist on any given mac.



[ Reply to This | # ]
Quick add currently-playing track to an iTunes playlist
Authored by: DougAdams on Jul 13, '09 10:05:48AM
...it's highly unlikely that iTunes *doesn't* exist on any given mac.
Er, that's not what the handler does. It reports if iTunes is running or not.

---
Doug's AppleScripts for iTunes
dougscripts.com

[ Reply to This | # ]

Quick add currently-playing track to an iTunes playlist
Authored by: midget2000x on Jul 13, '09 10:53:01AM

Whoops! you're right. My comment in the script is incorrect.



[ Reply to This | # ]