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 > OmniOutliner > OmniOutliner 3 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Export outline w/o Notes Column Thread Tools Search this Thread Display Modes
I've tried various of Rob's scripts (all excellent, BTW) but cannot see how to export a document to OMPL without the notes included.

I"m trying to get to a plain text document suitable for Markdown. Works great but for the notes I don't want to see.

Thanks.
M.
 
Which script are you using? I'm not aware of any by Rob that do OO->OPML except as a step between OF and OPML. Not sure why he would write one, given that OO has built-in OPML export...

As a quick and dirty hack, the following bit of Applescript will remove all the notes from the front document:

Code:
tell application "OmniOutliner Professional"
	tell front document
		repeat with myRow in rows
			set note of myRow to missing value
		end repeat
	end tell
end tell
Be sure you run it on a duplicate copy!

(If you've got the non-Pro ("OmniOutliner Amateur"? :-)) version, just remove " Professional" from the "tell application" line)

As another idea, on the OmniOutliner Extras page, there's an export plug-in that goes to Markdown, if you've got the Pro version.
 
Sorry, I mixed up two thoughts.

1. I can export to OPML with OO's built-in function. It always exports notes.

2. I tried Rob's scripts (Filter Parameters, Filter Copy, Filter Row by Column Value) to see if I could filter the Notes Column. Seems like it should work but I'm not programmer enough to see how.

Finally, thanks for the script to null the note field. I can make that work. I was seeking a nondestructive method but this is just fine.

Thanks again,
M>
 
Ah, not a problem. If you're interested in using Rob's Filter scripts, it should be a 1-line change to make them not include the notes.

Somewhere in the middle of the script, you'll find a few lines that look like this:
Code:
		-- COPY FILTERED ROWS INTO NEW DOCUMENT
		duplicate refRows to the end of the children of docFiltered
		set expanded of rows of docFiltered to false
Just add a line following that:

Code:
set note of rows of docFiltered to missing value
and save the script with a suitable name. A bit like drawing a moustache on the Mona Lisa, to be sure :-)
 
Thanks. Just what I wanted.

Like the industrialist whose factory stopped working. Hired a handyman who said he could fix anything. The man walked to one of the machines, hit it with a hammer and the whole factory started up. He handed the industrialist a invoice for $1 million.

"But you only hit it with a hammer!"

"Yeah. That's $1 for hitting it with the hammer and $999,999 for knowing where to hit."
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniFocus as notes/outline tool imlad OmniFocus 1 for Mac 14 2012-12-11 07:32 PM
Preserve the outline column in a narrow window? Ward OmniOutliner 3 for Mac 5 2011-05-19 10:05 AM
Is it possible to change the outline column ? lxln OmniOutliner 3 for Mac 2 2009-12-30 06:31 PM
Notes in any column sauron93 OmniOutliner 3 for Mac 0 2009-03-05 04:30 PM
Feature Request: Folding Outline in Notes Field oschultz OmniFocus 1 for Mac 1 2008-09-24 10:55 AM


All times are GMT -8. The time now is 02:11 AM.


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