<input type="file" ... accept="image/png" />
property iTunesRunning : false
property iTunesState : ""
tell application "System Events"
if "iTunes" is in (name of application processes) then set iTunesRunning to true
end tell
if iTunesRunning then
tell application "iTunes" to set iTunesState to player state as string
else
set iTunesState to "not running"
end if
return iTunesState
not running | playing | paused | stopped
NSDateFormatter *mf = [[[NSDateFormatter alloc] init] autorelease];
NSArray *months = [mf standaloneMonthSymbols];