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

Script: Copy selected rows as tab-indented (Markdown) plain text outlines Thread Tools Search this Thread Display Modes
Copies the text of selected rows (and their children) in a format suitable for pasting into a plain text outliner and/or Markdown editor.
  1. Copies outlines with tab indents rather than the OO3 clipboard's default multiples of four spaces.
  2. Leaves the lines unbroken by word-wrapping (the default Edit > Copy breaks the lines)

(I have assigned the script to a keystroke using Keyboard Maestro)


Last edited by RobTrew; 2012-11-29 at 01:53 AM.. Reason: Ver 2 trims any white space from the left of the OO3 text, to facilitate Markdown parsing
An extended version of the Copy As Markdown script for OO3.
  1. Any column values are copied as FoldingText-style inline @key(value) pairs or child line key : value property pairs. (The latter are used for longer values).
  2. MD bold/italic/combined emphases are captured
  3. Selection logic is improved selecting a single OO3 node will still copy that node and its whole sub-tree, but extended selections will no longer cause duplicated copying.
Attached Files
File Type: zip (65.9 KB, 1958 views)
File Type: zip (61.1 KB, 1934 views)

Last edited by RobTrew; 2012-11-29 at 03:29 AM..

This Copy As script can be converted to a Save As script by flipping the value of two properties:

property pblnSetClipboard : false

property pblnWriteFile : true

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Script: Pasting from FoldingText Markdown to oo3 nesting and columns RobTrew OmniOutliner 3 for Mac 5 2014-05-11 10:34 AM
Copying an OmniGraffle sub-tree as indented text RobTrew OmniGraffle General 0 2013-01-06 04:29 PM
Script to copy columns (and any selected rows) to new doc RobTrew OmniOutliner 3 for Mac 0 2010-06-07 02:47 AM
New Script - Selected Entourage EMail to Selected OF Task davidsomeone OmniFocus Extras 1 2009-03-06 12:22 PM
Copy as Plain Text? seth OmniWeb General 5 2008-11-24 05:44 AM

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

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