The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniOutliner 3 for Mac (http://forums.omnigroup.com/forumdisplay.php?f=9)
-   -   Merge items (http://forums.omnigroup.com/showthread.php?t=6750)

Roger Barre 2008-01-12 10:31 PM

Merge items
 
I copied a lot of text from an old PDF and copied it into an OO Pro Outline. Paragraphs, even sentences, are broken up into separate items and I'd like to combine them back.

In other words, if I were copying the above first sentence, "I copied a lot of text" might be one OO item, and "from an old PDF and copied it into an OO Pro Outline" might be the next item.

How can I combine those two into one item in my OO Outline?

DerekM 2008-01-14 01:58 PM

Control-delete at the front of a cell will merge it into the one above.

Roger Barre 2008-01-14 06:16 PM

Thanks - actually, it's control-delete at the end of a cell merges it with the one below. At least, that's the way it works for me.

DerekM 2008-01-15 11:56 AM

>< depends which delete key you use :)

Yeah, control-backspace or control-delete will do the job.

RobTrew 2010-04-18 09:17 AM

The built-in keystrokes work well for merging a couple of selected rows, and have the advantage of preserving character formats.

For merging [B]more than two[/B] selected rows (in circumstances when preserving emphases and other character formats is not necessary) I use an applescript of the following form:

[CODE]property pDelimiter : return
-- OR property pDelimiter : space

set strDelim to text item delimiters
set text item delimiters to pDelimiter

tell application id "com.omnigroup.OmniOutlinerPro3"
tell front document
set refRows to a reference to every selected row
set slnRows to contents of refRows

if length of slnRows < 2 then return

set {lstID, lstText} to {id, topic} of refRows
make new row with properties {topic:lstText as text} at before first item of slnRows

repeat with strID in lstID
delete row id strID
end repeat
end tell
end tell

set text item delimiters to strDelim
[/CODE]

humanengr 2012-04-07 02:27 PM

[QUOTE=DerekM;31258]control-backspace or control-delete will do the job.[/QUOTE]

Is this still available in 3.10.4?

DerekM 2012-04-09 11:00 AM

Yes, it still works. However, if you have multiple columns, they can't be merged if both rows have content in additional columns that will need to be merged.


All times are GMT -8. The time now is 09:10 PM.

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