FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Name, location of the current found file via AppleScript
Name, location of the current found file via AppleScript [message #1151] Mon, 08 February 2021 13:36 Go to next message
DR
Messages: 3
Registered: July 2020
Junior Member
I can't figure out how to access the document(s) in the application (or its windows) via AppleScript.
I'd like to get the name and filesystem location of the current document: the equivalent of "Copy Path" in the context menu.
Some examples would be much appreciated.
Re: Name, location of the current found file via AppleScript [message #1152 is a reply to message #1151] Tue, 09 February 2021 11:38 Go to previous message
FoxTrot Engineering
Messages: 384
Registered: April 2020
Senior Member
Currently, AppleScript can only be used to start a search, and display the results to the user; you can't get and process the result from AppleScript, nor access the currently selected or displayed file.

Jérôme - FoxTrot Engineering
Previous Topic: Index Crashing
Next Topic: Interaction in the settings between macOS and Foxtrot regarding folders excluded from Spotlight
Goto Forum:
  


Current Time: Thu Apr 18 20:40:00 GMT+2 2024