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

 
Extract the Legal para number using Applescript Thread Tools Search this Thread Display Modes
I am attempting to write my own CSV exporter script so that I am able to control how the document looks. I wish to include the legal numbering that is present in my Outliner document and have the legal numbers exported into the first column. Is there an Applescript command that yields the numbers as a result?

I have discovered the "level" property and am planning to maintain my own para number string within my script code. Is this the only way of doing it?

Simon
 
I have written a couple of scripts. The one here will create a Tab Seperated File that can be imported into Excel. It adds a legal style number to each item based on its level. It is a simple task to edit the code so that it outputs CSV but I have found that TSV is more useful. The code includes comments and can be adapted to extract data from other columns. At present these columns have to be accessed by name. I hope to create a version that will extract from all columns by column number at some point. I am also working on my own export to RTF.

If all is well there should be a zip file with two scripts. The Export to RTF will only work with a OOp document that has extra columns, the other one should create a TSV file from any OOp document.

Simon
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript error number -1728 when trying to specify a project name for a new task benlanghals OmniFocus Extras 3 2011-12-30 06:55 PM
Legal numbering mattao OmniGraffle General 3 2011-07-22 04:58 PM
Legal numbering problem in OO JamieBurr OmniOutliner 3 for Mac 4 2008-08-19 10:12 PM
Extract Data?? msalzberg OmniGraffle General 0 2008-03-20 11:08 PM
Export or Extract All Data dhm2006 OmniFocus 1 for Mac 6 2007-11-22 04:34 AM


All times are GMT -8. The time now is 05:36 AM.


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