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

 
Exporting to OPML using AppleScript Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hi,

Can anyone help with this script, or am I going awry in my assumptions somewhere?

I want to export the frontmost document as an OPML file. I am using OmniOutliner 3.5 (v134.2) - do I need Pro? and Mac OS X 10.4.6 .

When I run the script I get NSInternalScriptError and no file :(

If I remove the as "opml" part I get a new folder called test that contains a document content.xml, which appears to be binary!

Code:
tell application "OmniOutliner"
	set thePath to (choose folder) as string
	set opmlPath to thePath & "test.opml"
	set posixPath to (POSIX path of opmlPath)
	display dialog posixPath
	export front document to posixPath as "opml"
end tell
Any ideas?

Many thanks,
Toby
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting to an OPML app then PDF idea2go OmniOutliner for iPad 18 2013-09-27 06:38 AM
Exporting the whole OF database to OPML RobTrew OmniFocus Extras 18 2012-09-05 09:51 AM
Exporting OF Library to OPML for iThoughts HD Mschechter OmniFocus 1 for Mac 0 2012-07-29 06:57 AM
OPML exporting and formatted text macula OmniOutliner 3 for Mac 6 2010-06-09 06:53 AM
Exporting to Keynote and OPML xiamenese OmniOutliner 3 for Mac 2 2009-10-30 08:10 PM


All times are GMT -8. The time now is 10:29 AM.


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