User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
i kludged up an html interface to some applescript i wrote (so i can read it
from the couch;-) i have my applescript running as an FBA, and i have a utility
a/s that dispatches args to it:
on run argv -- osascript/cli only
try
set i to (count (argv)) -- throws error if not cli
set cmd to contents of (item 1 of argv)
if cmd = "status" then
tell application "playRec"
activate
return getStatus()
end tell
...
i then have a shell script that calls the applescript: