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)
-   -   Automator / AppleScript HTML Export (http://forums.omnigroup.com/showthread.php?t=2774)

sstringer 2007-02-07 08:01 AM

Automator / AppleScript HTML Export
 
Here's what I'm trying to do:

I have a task list that I maintain locally in OO3. I would like to publish that list daily with a script of some sort as part of my nightly maintenance script run. The only part of that workflow that I'm needing help with is the exporting part.

I've searched the forums and the SDK, and it would appear that exporting to HTML via AppleScript is not supported. I'm not really tied to HTML, although it is the most convenient format.

[B]My question to the group, then, is if anyone can suggest a good way to accomplish automated publication of an OO3 document to something a browser can read.[/B]

Many thanks,
Steve

DerekM 2007-02-08 03:25 PM

Hi Steve-

You can export to any of the exportable options with AppleScript. If you run the script:

tell application "OmniOutliner"
writable document types
end tell

It will tell you all the formats you can use with the Save command

So you can do:

save as "com.omnigroup.OmniOutliner.SimpleHTMLExport/HTML" in <path>


All times are GMT -8. The time now is 02:45 PM.

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