rhyd Posted June 7, 2015 Share Posted June 7, 2015 What is this? This is a workflow that allows you to run free text searches against your OmniFocus data. Why would I need this? Well, it's difficult to quickly search for, say, a task using OmniFocus' own search box since OmniFocus restricts the results to the current perspective or selection. Other people have noticed this too. Where can I get it? From Packal or GitHub. How do I use it? The README has full instructions but, here's a starter for 10. Search for all tasks within OmniFocus (irrespective of status) with .s thanasut, bivalvegruff, cands and 1 other 3 1 Link to comment
cands Posted June 8, 2015 Share Posted June 8, 2015 This is great, most useful and nicely implemented, thanks! Two things on my wishlist: 1) The workflow does not work when searching for words with international characters (in my case Swedish characters Å, Ä and Ö) - could this be fixed? 2) It would be useful to have an option to search also within completed tasks. Link to comment
boysbytes Posted June 11, 2015 Share Posted June 11, 2015 (edited) Hi, When I perform a search (using the keyword .s), the result shows only on-hold tasks. I can't find any active tasks. I also tried searching active tasks (using the keyword .sa), but the result are the options to search Google/Amazon/Wikipedia for my search term. I'm not sure if this is an issue with my system or with the workflow. I hope you can help me out because I think your workflow is very useful. Thanks! Louis Edited June 11, 2015 by boysbytes Link to comment
rhyd Posted June 12, 2015 Author Share Posted June 12, 2015 @cands, thanks. I'll look into the character issue and get back to you. Link to comment
rhyd Posted June 12, 2015 Author Share Posted June 12, 2015 @boysbytes. Odd. Can you do the following: Open Alfred Preferences Choose Workflows and choose Search Omnifocus in the workflow list Toggle debugging mode on (press the bug icon beneath the Help button on the right hand side) Choose "All information" in the Log dropdown list Run the Search Omnifocus workflow (.s) and you should see lines of text appear in the blank space beneath the workflow Press Copy and send me a message via my profile page with the results (don't post the results here) and I'll look into it. Link to comment
rhyd Posted June 19, 2015 Author Share Posted June 19, 2015 @cands - point 1 below fixed in latest version This is great, most useful and nicely implemented, thanks! Two things on my wishlist: 1) The workflow does not work when searching for words with international characters (in my case Swedish characters Å, Ä and Ö) - could this be fixed? 2) It would be useful to have an option to search also within completed tasks. Link to comment
cands Posted June 20, 2015 Share Posted June 20, 2015 @cands - point 1 below fixed in latest version I confirm that it works with Swedish now, thank you very much! Link to comment
OmarKN Posted June 23, 2015 Share Posted June 23, 2015 Phantastic! THANK YOU! / / with best regards, Omar KN Stockholm, Sweden Link to comment
woong_net Posted February 29, 2016 Share Posted February 29, 2016 I haven't got any response when I try to search my OmniFocus with '.s' keyword. There is no error in the debug area. What else should I do? Link to comment
deanishe Posted March 1, 2016 Share Posted March 1, 2016 Do you have any other Python-based workflows? Do they work? If all your Python workflows have stopped working, reboot. Link to comment
Blake Posted May 15, 2016 Share Posted May 15, 2016 (edited) The workflow would not show the icons for the items found on my Mac. After some failed troubleshooting attempts I finally realized that the problem was that OmniFocus has to reside directly in /Applications for the icons to load. I prefer to organize my Non-MAS applications in subfolders, which broke that part of the workflow. So if anyone else suffers from missing task icons, move OmniFocus to /Applications. Maybe a note about this in the readme file would be a good idea. Alternatively, the workflow could scan for the location of OmniFocus and adjust the paths accordingly. By the way, I already really liked the workflow before, but now that it is fully working for me, it's absolutely fantastic! Edited May 15, 2016 by Blake Link to comment
rhyd Posted May 18, 2016 Author Share Posted May 18, 2016 Hi Blake - thanks for the feedback and glad you like workflow! Currently, the workflow looks for icons in these Omnifocus locations: /Applications/OmniFocus.app/ /Applications/OmniFocus.localized/OmniFocus.app/ I'd be interested to know where you put Omnifocus originally? Cheers, Rhyd Link to comment
deanishe Posted May 18, 2016 Share Posted May 18, 2016 FWIW, you could use an AppleScript to get the path to the application: tell application "Finder" to get (POSIX path of (path to application "OmniFocus")) Not a good primary method (too slow), but perhaps as a fallback? Link to comment
Blake Posted May 19, 2016 Share Posted May 19, 2016 Hi Blake - thanks for the feedback and glad you like workflow! Currently, the workflow looks for icons in these Omnifocus locations: /Applications/OmniFocus.app/ /Applications/OmniFocus.localized/OmniFocus.app/ I'd be interested to know where you put Omnifocus originally? Cheers, Rhyd My OmniFocus application was located at /Applications/-other/OmniFocus.app before I moved it to /Applications. I have a bunch of subfolders (e.g., -audio, -graphics, -tools, etc.) in /Applications that I like to use to organize my applications. I have more than 250 applications on my Mac and this system makes it much easier for me to find those applications/tools that I use very infrequently and which names I often don't remember. Maybe the ideal solution would be for the workflow to search for the location of OmniFocus on first launch using the method outlined by deanishe. This location could then be remembered by the workflow and only when loading the icons failed, the location would need to be determined again. If that is too much trouble for what might be a small group of users, just putting a brief notice in the readme file, that the OmniFocus application needs to reside in /Applications, would already help a lot. Link to comment
conejo23 Posted May 21, 2016 Share Posted May 21, 2016 This workflow is awesome, thanks! I just installed and tried it out, I knew I had a task that I'd set a due date for within a few weeks. I normally live in my "today" perspective in OmniFocus. To find this task I would've had to made OF the active app, changed perspectives, clicked into the search field and typed my search term. Instead I just used this and it found it right away. Great stuff. rhyd 1 Link to comment
rhyd Posted May 21, 2016 Author Share Posted May 21, 2016 So I took @deanishe's good advice and updated the workflow to use an AppleScript call to find the OmniFocus resources directory if the app isn't installed in the default location. Thanks for everyone's feedback - much appreciated. cands and Blake 2 Link to comment
Blake Posted May 22, 2016 Share Posted May 22, 2016 Just wanted to confirm that the updated workflow now works with OmniFocus residing in a subfolder of /Applications. Thanks for all the excellent work! Link to comment
torisla Posted October 19, 2016 Share Posted October 19, 2016 I love this workflow, thank you! Is there a way to grab the link to the task, when I find it using this workflow? That would be so awesome since I use the links a lot. Link to comment
rhyd Posted October 19, 2016 Author Share Posted October 19, 2016 Hi - grabbing the link's pretty easy: Open Alfred, type 'alf' and choose 'Show Alfred Preferences' Choose Workflows and search for Search Omnifocus In the workflow area, right click and choose Outputs > Copy to Clipboard In the Copy to Clipboard popup, leave the text {query} as is and hit Save Drag a link from the Open URL actions to Copy to Clipboard Done Hope that helps. Cheers Link to comment
torisla Posted October 19, 2016 Share Posted October 19, 2016 Thank you sooo much. That was almost it. I just tweaked it a little bit, so that I don't open the URL, but only copy the link to my clipboard and get a notification. That totally made my day! ;-D Link to comment
needalfredhelp Posted September 29, 2018 Share Posted September 29, 2018 I am having a wierd issue while using this workflow. I can only use certain aspects of this workflow, while others are not working. For example when i type '.v' followed by the name of one of mcustom perspectives, it works fine fine. However when i try any of the other search terms like '.r', '.d', '.sa etc, the workflow shoes me an error. I am using macOS Mojave and Alfred 3.7 I have already gone into my secruity preference pane and granted Ful Disk Access to Alfred. Link to comment
rhyd Posted September 29, 2018 Author Share Posted September 29, 2018 Hi, Are you using OmniFocus v2 or v3? Can you send/attach your workflow log so I can investigate pls? To send these logs: Open Alfred preferences (keyword 'alf') Click 'Workflows' in the tool bar Choose 'Search Omnifocus' from the list of workflows on the left Click on the 'Debug' to toggle debugging mode (see Alfred's help page for more info) Choose 'All information' from the Log dropdown Open Alfred and type the query that's not working Copy the debug output and post it as a response - I'll take a look. Cheers, Rhyd Link to comment
cands Posted October 2, 2018 Share Posted October 2, 2018 Thanks for updating the workflow for OmniFocus 3! It works great for me on macOS 10.13.6/Alfred 3.7/OmniFocus 3.0.1. A feature request: The workflow has a lot of options to list all tasks with certain criteria, but there doesn't seem to be a way to just list (as complement to search) all tasks in the inbox. That would be useful when there are not too many tasks in the inbox (personally I normally have less than five inbox items). Link to comment
rhyd Posted October 3, 2018 Author Share Posted October 3, 2018 No worries, thanks for the feedback. I've updated the workflow so that you can list tasks in the inbox using the keyword: .li Let me know how you get on. Cheers, Rhyd Link to comment
cands Posted October 4, 2018 Share Posted October 4, 2018 On 10/3/2018 at 5:54 PM, rhyd said: No worries, thanks for the feedback. I've updated the workflow so that you can list tasks in the inbox using the keyword: .li Let me know how you get on. Cheers, Rhyd Thanks very much, it works perfectly and is very handy! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now