Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access document in file document from AppleScript #1748

Open
oirwnvvwwvc opened this issue Oct 28, 2024 · 1 comment
Open

Cannot access document in file document from AppleScript #1748

oirwnvvwwvc opened this issue Oct 28, 2024 · 1 comment
Assignees
Labels
better to fix unwanted behaviors better to fix
Milestone

Comments

@oirwnvvwwvc
Copy link

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

@1024jp 1024jp added the better to fix unwanted behaviors better to fix label Nov 1, 2024
@1024jp 1024jp self-assigned this Nov 1, 2024
@1024jp
Copy link
Member

1024jp commented Nov 4, 2024

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

@1024jp 1024jp added this to the To Do milestone Nov 4, 2024
@1024jp 1024jp changed the title AppleScript help Cannot access document in file document from AppleScript Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
better to fix unwanted behaviors better to fix
Development

No branches or pull requests

2 participants