The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
OmniPlan Export Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Hi,

I am trying to use the export applescript and while I follow the script documentation I can't see what the properties should be defined as.

For example, your documentation reads:

export v : Export a document.
export specifier : The document(s) or window(s) to save.
[to file] : The file in which to save the document.
[as text] : The type of file to save as. Possible values are 'CSV', 'MPX', 'MSPDI' (which is MS Project XML), 'ICAL', 'PNG', 'PDF', 'TIFF', 'JPEG', 'OmniOutliner v3', 'OmniGraffle', 'HTML Task List', 'HTML Resource List', and 'HTML Full Report'. More valid export types may be added in the future.
[using template file or text] : Name (if the template is in a standard location) or file of the template to be used for export.
[with properties export settings] : current export settings for this project.

(the properties export shows up as a hyperlink, but does nothing when I click it).

So, if I have the script:

tell application "OmniPlan"
set mydoc to open "/Users/myuser/Plans/MyPlan.omniplan"
export mydoc to "/Users/myuser/Plans/Reports/MyPlan.htmld" as "HTML Full Report" using template "My Detail Output"
end tell

I want to add to the end of this "with properties " but I can't find documentation to tell me how to specify that I want it to export with the .htmld extension (right now it doesn't).

Also, when exporting I is exporting with a filter applied. How do I tell OmniPlan in applescript to not filter, or to filter using a criteria.

Thanks

Pete.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OMNIPLAN export to xml PBS OmniPlan General 0 2012-12-15 08:17 AM
Applescript to export Omniplan as XML aniruddha OmniPlan Extras 1 2010-11-18 12:14 PM
FastTrack <-> OmniPlan Import/Export geekvsmachine OmniPlan Extras 0 2009-04-03 04:23 PM
Omniplan Export Problem viekoslav OmniPlan General 6 2008-05-01 07:26 PM
Get rid of the OmniPlan footer on export reports Onmi OmniPlan General 3 2007-05-04 09:25 AM


All times are GMT -8. The time now is 11:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.