Has anyone tried to support Flying Logic?
It doesn’t have an AppleScript dictionary, so I tried System Events. It seems that the ‘document’ property of the frontmost window of the process, while a value exists, neither ‘name’ or ‘file’ properties are accessible from that property. The best I can do at the moment is get access to the title of the first window, but the address (a la POXIX file path) is still missing.
As I didn’t notice anything already posted here on the topic nor on their forum, I have posted to the Flying Logic forum’s support topic, requesting AppleScript support, including a specific callout re: the necessary Hook functionality. See this post: https://flyinglogic.discoursehosting.net/t/applescript-support/65
I am considering a (likely ugly) hack whereby I store the file in a DEVONthink database, then query DEVONthink for the record (i.e. file) by name I get from the window title. I’d have now way of handling duplicates at the moment, so file naming would have to be unique going into DT.
If anyone has other suggestions for how to work around the current limitation, I’m all ears. (Or would it be “I’m all eyes” considering the medium?)