View Single Post
Quote:
Originally Posted by Ken Case View Post
Try using the "as" parameter to the "save" command to specify a different file type, like this:

Code:
tell application "OmniFocus" to tell default document
	save in "/tmp/OmniFocus-Export.html" as "HTML"
end tell
Hope this helps!
I had to change the save path to use colons instead of slashes. So to do the .mac export:
Code:
tell application "OmniFocus" to tell default document
	save in ".macusername:Public:OmniFocus-Export.html" as "HTML"
end tell
That is, if you want the page to be open to the public.
Now all I need is to set the perspective...