Code: Select all
var app = Application("GraphicConverter 11");
var sel = app.windows.selection()
Now, sel is an array ("list" in AppleScript parlance) containing the file names
of the selected images. If I understand the GC script dictionary correctly, almost all methods and properties are bound to the Window
object and not accessible if only a file name is available.
How would I go about to (for example) set the property "IPTC credit text" (bound to Window) if all I have is a file name? If somebody knows how to do that in AppleScript, that's fine too – I'll manage to translate that.