The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Fun with Find and Replace Thread Tools Search this Thread Display Modes
I am trying to learn how to use find/replace more effectively within OmniFocus.

I am setting up 10 action groups with the same basic information:

ask @@ to help with the event
-waiting for @@ to respond back
-send @@ materials
- etc, etc @@
I would like to duplicate the above action group ten times using command+D and then select one action group, find @@ and replace with a person's name and then repeat the process for the next action group.

Unfortunately, it seems like find/replace is global and not just for the selected text. Is there a way of finding/replacing just the selected text.

Curt Clifton has an excellent script called "Populate Template Placeholders" found here, but I'm looking for something that I can do on the fly.

Any thoughts?

I think find and replace works with the current view. So, if these were projects instead of action groups, you could select each in turn in the sidebar and do the replace.

I'm not in front of my Mac right now to verify, but I believe the standard Mac OS X search and replace dialog will operate on the current selection if you hold down the Option key. I'm not sure if OmniFocus uses this standard dialog, but I believe this is available in TextEdit and other apps like Yojimbo. It's worth a try anyway.

Thanks guys for the responses.

- Curt, I suppose I can drag them into projects do the find/replace and then drag it back into an action group

- Dennis, the option trick was a good idea, but it doesn't seem to work.

It looks like the fastest thing to do is to use "replace and find" rather than "replace all"
Originally Posted by steve View Post
Dennis, the option trick was a good idea, but it doesn't seem to work.
Yeah, I see what you mean now, Steve. Looks like OmniFocus is using a modified variation of the find dialog to offer regex search, which isn't available in the standard TextEdit-style window.

Now that I look at it more closely, the labels of the three left-most buttons (Replace All, Replace, and Replace & Find) also look slightly misaligned, or at least aligned higher vertically than the Previous and Next buttons. Perhaps they're replacements for the default dialog's buttons, resulting in the loss of the "Replace All/In Selection" toggle via Option key.

Thanks for taking a second look Dennis. At some point, I would like to learn about regex searches.

I decided to keep all of the information in a linked omnioutliner document.

invited|confirmed|materials sent|etc|etc
Peter x
Paul x x
John x

I'm curious, would you try to track something like this in omnifocus or in a spreadsheet?

Nonetheless, it would be nice to be able to a find/replace in a selected area.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace only in selection? steve OmniOutliner 3 for Mac 6 2011-10-25 09:51 AM
Is there a way to do a Find and Replace with Style (italics bold) JimmyMcVideo OmniOutliner 3 for Mac 1 2011-05-26 06:00 PM
Applescript find & replace in OmniOutliner Standard Michael Grinberg OmniOutliner 3 for Mac 0 2008-02-18 06:28 AM
Find/Replace with indents random1destiny OmniOutliner 3 for Mac 0 2007-09-06 06:23 PM
Find and replace panel with TEXTAREA? leeharveyosmond OmniWeb Bug Reports 0 2007-03-07 01:40 PM

All times are GMT -8. The time now is 08:24 AM.

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