Results 1 to 4 of 4

Thread: AppleScript to search in a given library using LaunchBar?

  1. #1

    Default AppleScript to search in a given library using LaunchBar?

    Hello,

    I would like to use LaunchBar to search in a given library (and if possible, inside a given folder or saved search) of EagleFiler. I looked through the AppleScript dictionary and through the example scripts on EF's site and I cannot see how to do it.

    Is this possible?

    Thanks,

    Alan

  2. #2

    Default

    Quote Originally Posted by brab View Post
    I would like to use LaunchBar to search in a given library (and if possible, inside a given folder or saved search) of EagleFiler. I looked through the AppleScript dictionary and through the example scripts on EF's site and I cannot see how to do it.

    Is this possible?
    The LaunchBar Search script shows how to search the frontmost library. It’s not currently possible to change the selected folder (except by GUI scripting the Go menu). If you want to search a particular library, you could make the script open it before doing the search.

  3. #3

    Default

    I can't believe I missed this script ... thanks for pointing me to it.

    I found a nice workaround to restrict the search to a smart folder: I got the record name for the smart folder, and I'm asking EF to "get_url" on it. It seems to be working great, even when EF is not running.

  4. #4

    Default

    Quote Originally Posted by brab View Post
    I found a nice workaround to restrict the search to a smart folder: I got the record name for the smart folder, and I'm asking EF to "get_url" on it. It seems to be working great, even when EF is not running.
    Ah, yes, I forgot about that. You can use Copy Record Link to get the URL for a smart folder and then put something like this in the script:
    Code:
    tell application "EagleFiler"
        get url "x-eaglefiler://open?groupGUID=Group.UnfiledSmartGroup&library=~/Desktop/EagleFilerTest/EagleFilerTest.eflibrary"
    end tell
    This will open the library and select the smart folder.

Similar Threads

  1. Replies: 4
    Last Post: 03-17-2011, 01:09 PM
  2. Search OCR'ed PDF from Applescript
    By bob in forum EagleFiler
    Replies: 3
    Last Post: 11-22-2010, 05:51 PM
  3. multi-library search possible?
    By wagnerone in forum EagleFiler
    Replies: 2
    Last Post: 09-01-2009, 09:33 AM
  4. Replies: 4
    Last Post: 04-02-2009, 06:38 AM
  5. Replies: 2
    Last Post: 05-30-2007, 11:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •