Hi, sorry for not seeing this sooner, here's a script that will export all currently open files to a specified folder:
Code:
set text item delimiters to ".oo3"
tell application "OmniOutliner Professional"
tell application "Finder"
set thePath to (choose folder with prompt "Select folder to export to")
end tell
repeat with myDoc in every document
set docName to name of myDoc
set docName to text item 1 of docName
--change "com.omnigroup.OmniOutliner.HTMLExport/HTML (Dynamic)" to change export type
--"writable document types" will list acceptable file types
save myDoc as "com.omnigroup.OmniOutliner.HTMLExport/HTML (Dynamic)" in ((thePath as string) & docName)
end repeat
end tell
set text item delimiters to ""