Member
2007-02-24, 11:33 AM
Awesome, your suggestion worked great. Here's something I just used for a template I named "Standard", it's really close to yours. I haven't tried using this script against a custom template yet.
tell application "OmniPlan"
tell front document
set reportName to "Users:kaan:Desktop:" & (get name) & ".htmld"
save in reportName as "HTML Full Report" with properties {export template:"Users:kaan:Library:Application Support:OmniPlan:HTMLTemplates:Standard"}
end tell
end tell
Thanks!
Kaan