View Single Post
Here's the script I was using to get my perspectives onto my iDisk's public folder so I could view them from my iPhone before 1.1. You'll need a bit of editing. It also throws out a growl notification at the end.

Quote:
tell application "Finder"
mount volume ¬
"[[Your Webdav]]" as user name "[[User]]" with password "[[pword]]"
end tell
tell application "OmniFocus" to tell default document
set perspective name of front document window to "Out & About"
save in "[[file path]]:out.html" as "HTML"
set perspective name of front document window to "At Home"
save in "[[file path]]:home.html" as "HTML"
end tell
tell application "GrowlHelperApp"
set the allNotificationsList to ¬
{"OmniFocus Export Completed"}

set the enabledNotificationsList to ¬
{"OmniFocus Export Completed"}
register as application ¬
"OmniFocus Export" all notifications allNotificationsList ¬
default notifications enabledNotificationsList ¬
icon of application "OmniFocus"

notify with name ¬
"OmniFocus Export Completed" title ¬
"OmniFocus Export Completed" description ¬
"Your action lists are available on .mac" application name "OmniFocus Export"

end tell