FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Help Needed with Foxtrot Applescript
Re: Help Needed with Foxtrot Applescript [message #170 is a reply to message #168] Tue, 25 March 2014 09:03 Go to previous messageGo to previous message
FoxTrot Engineering
Messages: 385
Registered: April 2020
Senior Member
Potts Jeff wrote:

> I was wondering if anyone had already written an Applescript service where
> I could simply select the text I wish to search, hit an keyboard shortcut
> and it would copy my selected data into the search field and start the
> search.

You can use the FoxTrot system menu: select the text you want to search, type command-E in applications that support the system-wide search string, then use the shortcut defined in FoxTrot's preferences to open FoxTrot's system menu.
If the application where you select the text does not support the system-wide search string, copy the text, use the shortcut to open FoxTrot's system menu, then press the command key to paste the search string.

> Alternatively, could anyone point me in the direction of some scripts that
> I could modify?

To perform a search in FoxTrot from AppleScript, use the following command:

tell application "FoxTrot Professional Search"
activate
search "search string"
end tell


Jérôme - CTM Engineering


------------------------------------------------------------ ---------
"Incredibly powerful and useful. If you're thinking "Yeah, I have
Spotlight, and it was free" then think again. FoxTrot is instantaneous.
It lets you do those good boolean searches that Spotlight makes
impossible to do (or to remember how to do). I can't believe how fast
it finds Mail messages, and then shows me the subject line, mailbox
location, and the full text of the message in preview."
FoxTrot Personal Search user comment on www.macupdate.com

Download a demo version from www.foxtrot.ch
------------------------------------------------------------ ---------


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Issues in PowerMail
Next Topic: Search for PDFs with highlights
Goto Forum:
  


Current Time: Wed May 15 12:47:27 GMT+2 2024