On 2010-07-05 19:26 , Daniel Israel wrote:
I don't know how to tell if it's "scriptable". I am guessing not, but
how could I tell?
open Script Editor, and choose File > Open Dictionary ...
the list of applications you see includes those the system "knows" to be
scriptable; if yours doesn't appear here, click Browse and find your
application; when you open it, it will either show you a window with a
dictionary of AppleScript commands, or you will get an alert "Unable to
read the dictionary of the application or extension because it is not
scriptable"
in the latter case, AppleScript won't help; in the former case, look at
the dictionary to see if they types of commands you'd need are present;
if so, you could use AppleScript and some related techniques to do your
task; it will still take some work -- a quick search will lead you to
better AppleScript resources than this list; also try Apple's mailing list:
<http://lists.apple.com/archives/applescript-users>
It does not seem to work when I drop a video file on
it, and no concept of "watched folder". Sounds like I am SOL, eh?
well, that rules out some of the simpler means; if the application is
shell-based, there's still a possibility that you could do it with a
shell script -- you'd need a man page or support from the application's
developer for that
as a last resort, you might be able to use a crude technique called "GUI
scripting" to drive a non-scriptable application -- here's one of
several guides on that topic:
<http://www.macosxautomation.com/applescript/uiscripting/index.html>
i don't enjoy GUI scripting _at all_, but it can make the otherwise
impossible possible; here's a great tool for working with GUI scripting
-- the free trial should be all you need to figure out if that's the way
you want to go:
<http://pfiddlesoft.com/uibrowser/index.html>
(standard disclaimer)
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk