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 4 for Mac
FAQ Members List Calendar Today's Posts

 
Setting export format with Applescript Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Code:
tell application "OmniOutliner"
    writable document types
end tell
This will return the list of UTIs, assuming you're running it from an AppleScript editor.

org.opml.opml
com.apple.rtfd
com.omnigroup.omnioutliner.oo3
com.microsoft.word.openxml.document
com.omnigroup.omnioutliner.oo3template
com.omnigroup.omnioutliner.oo3template-package
com.omnigroup.omnioutliner.oo3-package
com.apple.iwork.keynote.key
com.omnigroup.omnioutliner.plain-text.fixed-width
public.rtf
public.plain-text
com.omnigroup.OmniOutliner.WordExport.MSWordHTML

Though I just noticed this isn't returning a fully correct list, it's missing the HTML options and has some we removed. For HTML you would use:

com.omnigroup.OmniOutliner.HTMLExport.HTMLDynamic
com.omnigroup.OmniOutliner.SimpleHTMLExport.HTML
 
 





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


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