LaunchBar - Search EagleFiler
Summary: Initiate an EagleFiler search from LaunchBar.
Requires: EagleFiler, LaunchBar
Install Location: ~/Library/Scripts/Applications/LaunchBar/
Last Modified: 2021-10-09
Description
Save the compiled script as Search EagleFiler.scpt. To start a search, begin typing “Search EagleFiler” to select the script in LaunchBar. Press Space, type your text, and press Return.
You can also search using EagleFiler’s URL scheme.
Installation Instructions · Download in Compiled Format · Download in Text Format
Script
on
handle_string(
_string)
tell
application
"EagleFiler"
-- You can use this to specify a particular library to search
-- open POSIX file "/Users/mjt/Documents/MyLibrary/MyLibrary.eflibrary"
repeat
until
(
exists
browser window
1)
delay
1
end
repeat
tell
browser window
1
activate
set
search query
to
_string
end
tell
end
tell
end
handle_string