The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Applescript for finding an OmniFocus project quickly (http://forums.omnigroup.com/showthread.php?t=18580)

masterninja01 2013-09-28 01:27 AM

How to pass search query to script
 
Hey Rob,

Wonderful script you've made, even if you had help. Nice.

I've been trying to look it over to make it work with Alfred 2 where I pass a search string to the script. I've tried multiple times but can't seem to figure out how to do it. It would be like launchbar I think. How does the script get the search string from launchbar?

RobTrew 2013-09-28 05:04 AM

Launchbar:

[CODE]-- STANDARD **LAUNCHBAR** HANDLER FOR STRING PARAMETER
on handle_string(strParameter)
...

end handle_string[/CODE]

Alfred:

[CODE]-- STANDARD **ALFRED** HANDLER FOR STRING PARAMETER
on alfred_script(strParameter)
...
end alfred_script
[/CODE]

But I have a feeling someone may already have made this adaptation or built a similar tool to work with Alfred. Worth looking further.

masterninja01 2013-09-28 05:48 AM

Thanks for the quick response!
Yes you are correct. [URL="http://http://simplicitybliss.com/"]SimplicityBliss[/URL] already did it. It took me awhile to find it. But [URL="http://simplicitybliss.com/2011/10/search-and-open-omnifocus-projects-enhanced-with-alfred-support/"]here[/URL] is the page for it just in case someone else comes here looking for it.

Dale 2013-09-29 08:57 PM

I suggest taking a look at this thread. The first post is of an Alfred 2 workflow for OmniFocus.

[url]http://forums.omnigroup.com/showthread.php?t=29315&highlight=alfred[/url]


All times are GMT -8. The time now is 10:34 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.