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 > OmniPlan > OmniPlan Extras
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Export custom reports to PDF in AppleScript? Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I'm trying to export my OmniPlan project into many separate PDFs that are filtered by the following criteria: Resourse, Starting Date, and Ending Date.

I tried the following in AppleScript:

Code:
tell application "OmniPlan"
	using terms from application "OmniPlan"
		set SDate to date "Monday, October 1, 2007 12:00:0 AM"
		set EDate to date "Friday, November 9, 2007 12:00:0 AM"
		set mPlatt to "Mike Platteter"
		export front document to "Users:~:Documents:W:W Project:W Project Milestone 4 Mike.pdf" as "PDF" using template "" with properties string resource = mPlatt
	end using terms from
end tell
(where "~" is my home folder...)
but with no luck.

If I just use:

Code:
tell application "OmniPlan"
	using terms from application "OmniPlan"
		export front document to "Users:~:Documents:W:W Project:W Project Milestone 4 Mike.pdf" as "PDF"
	end using terms from
end tell
then in exports the entire OmniPlan document as the named PDF. But I'm trying to access the filtering options in the Export Dialog for something similar to the attached.

I'm a newbie to AppleScript...

Mike
Attached Thumbnails
Click image for larger version

Name:	OmniPlanExport.gif
Views:	1425
Size:	12.3 KB
ID:	350  
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing custom reports RussleTop OmniPlan General 3 2007-07-29 03:47 AM
Get rid of the OmniPlan footer on export reports Onmi OmniPlan General 3 2007-05-04 09:25 AM
Resource Reports in HTML export problems Relaxer OmniPlan General 2 2007-01-18 01:51 PM
Export of custom stencils to other apps aussieghump@mac.com OmniGraffle Extras 0 2006-06-24 03:47 AM


All times are GMT -8. The time now is 07:44 AM.


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