C-Command Software Forum

Applescripting EagleFiler

I’m really enjoying my EagleFiler-as-Mail archive workflow and am thinking about ways to make it even better (and possibly actually useful for other people). So of course I have some Applescript questions.

My question for now: is there a way for Applescript to see what the name (or path, or both) of the active EagleFiler library is?

Sure:

tell application "EagleFiler"
    tell library document 1
        set _file to get file
        set _path to _file's POSIX path
        set _name to get name
    end tell
end tell

Excellent, thank you! I may have more questions down the line, but this gives me something to work with.