Return to Snippet

Revision: 28195
at July 3, 2010 04:49 by jeromegamez


Initial Code
on run
	set info to ""
	tell application "System Events"
		set num to count (every process whose name is "iTunes")
	end tell
	if num > 0 then
		tell application "iTunes"
			if player state is playing then
				set info to name of current track as string
			end if
		end tell
	end if
	return info
end run

Initial URL

                                

Initial Description

                                

Initial Title
iTunes: Current track

Initial Tags

                                

Initial Language
AppleScript