CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

Cannot access document in file document from AppleScript

Open oirwnvvwwvc opened this issue 1 year ago • 1 comments

If CotEditor has opened a folder, how can I use AppleScript to get the file path of the currently opened file in this window?

Using 'set theFile to file of front document' will only get the folder path when in a folder window.

Please help me

oirwnvvwwvc avatar Oct 28 '24 06:10 oirwnvvwwvc

AppleScript is not yet supported for documents in a folder (sorry). Please be patient until the implementation.

1024jp avatar Nov 04 '24 07:11 1024jp