Thread: OO4 applescript
View Single Post
Originally Posted by Ken Case View Post
Look in your automator action's script for a line which looks like this:

		save NewDocument in SaveLocation as "OmniOutliner 3"
The problem is that it's referring to the .oo3 file type using its old identifier "OmniOutliner 3". The solution is to leave off the file type altogether, so that line simply reads:

		save NewDocument in SaveLocation
Hope this helps!
Hey, Ken, is that all we should have to do to make the Automator actions that shipped with OmniOutliner Pro 3.10.6 work with OmniOutliner (Pro) 4? I hacked the Contents/Info.plist within each action (which makes me very nervous, BTW) to remove references to "OmniOutliner Professional" and change references of "com.omnigroup.OmniOutlinerPro3" to "com.omnigroup.OmniOutliner4", but the "Export Outlines" action still barfs with "Can't get «class OOwt»." It would be better if you guys released OO4-compliant Automator actions, but if that's not going to happen, please give us some tips about how we can hack the OO3 ones 'em safely. Please let me know if this should be a new topic.