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)
-   -   Notes to level? (http://forums.omnigroup.com/showthread.php?t=16576)

kcjimmyk 2010-06-24 09:05 AM

Notes to level?
 
This is a newbe question, but I tried a search and couldn't come up with an answer.

I have imported a file from Mellel (which I exported as OPML) and it works fine.

What I would like to do now is promote the notes to a level in the outline. Is this possible?

TIA

Jim

RobTrew 2010-06-24 12:41 PM

[QUOTE=kcjimmyk;79139]What I would like to do now is promote the notes to a level in the outline. Is this possible?[/QUOTE]

If you are happy install a script on the OO toolbar, or in the Script Menu, you could experiment with this. It is intended to convert the notes of any selected rows to child rows.
This draft aims to preserve any attachments in the note, but always back up your file before trying anything like this, and experiment first with dummy data ...

[CODE]-- Ver 0.5

-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-- IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

property pNullString : ""

tell application id "com.omnigroup.OmniOutlinerPro3"
set oSeln to selected rows of front document
repeat with oRow in oSeln
tell oRow
set strNote to note
if (length of strNote) > 0 then
set topic of (make new row at before first child) to note
set {note expanded, note, expanded} to {false, pNullString, true}
end if
end tell
end repeat
end tell
[/CODE]

kcjimmyk 2010-06-24 02:08 PM

[QUOTE=RobTrew;79149]If you are happy install a script on the OO toolbar, or in the Script Menu, you could experiment with this. It is intended to convert the notes of any selected rows to child rows.
This draft uses duplication to preserve any attachments in the note, but always back up your file before trying anything like this, and experiment first with dummy data ...
[/QUOTE]

Thanks a bunch!! This looks like just what I am looking for. I'll be careful and experiment.

Jim

RobTrew 2010-06-24 02:55 PM

[QUOTE=kcjimmyk;79152]This looks like just what I am looking for. I'll be careful and experiment[/QUOTE]

I went back and made some further edits to the code (above), so it might be worth checking that you have the later version (0.5)

a63rve 2010-08-14 05:42 AM

This is great. Does anyone have a script which takes Row Text and converts it to a Note.

curt.clifton 2010-08-14 07:24 AM

[QUOTE=a63rve;83436]This is great. Does anyone have a script which takes Row Text and converts it to a Note.[/QUOTE]

What are you looking for exactly? Do you want something that takes all the child rows of an item and turns them into the note text of the item? What if the children have notes or their own children?

a63rve 2010-08-14 08:16 AM

I have imported in a foreign language text. As I translate and organize the thoughts, I'd like to move each row into a note so that I can use the same row for translation. So an AS that creates a note beneath the current row, copies the content of the row into the note and returns the currsor to the beginning of the row so I can now type the translation.


All times are GMT -8. The time now is 12:27 AM.

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