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 General
FAQ Members List Calendar Today's Posts

 
AppleScript examples? Thread Tools Search this Thread Display Modes
I'm interested in pushing data out of FileMaker Pro into OmniPlan.

From the available interfaces, it looks like AppleScript might be my best bet. (Although being able to IMPORT CSV files would be easier.)

Are there any AppleScript examples that OmniFolk or others have made that they would be interested in sharing?

TIA
 
OmniPlan has csv support, though we recognize it has problems parsing and mapping data. I'd love for you to try it out and let us know. There is no File->Import menu item or anything... just open your .csv file in OmniPlan. Cleverly, the importer currently defaults to TAB delimited columns (in csv? Right.) but we'll change that. Date parsing it also rather... tetchy.

If you need more control than the column mapping offers, Applescript can probably do what you want. Here's something I banged together which is, of course, hugely rudimentary:

Code:
tell application "OmniPlan"
	set myDoc to make new document
	tell myDoc
		set Myself to make new resource with properties {kind:person, efficiency:2, name:"Tom", cost per hour:200.0}
		set MyTask to make new task with properties {name:"Cure Cancer", duration:8.0}
		assign MyTask to Myself
	end tell
end tell
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Some examples Alan B OmniOutliner 3 for Mac 2 2009-05-07 04:47 AM
rb-appscript examples Carl Bourne OmniPlan Extras 1 2008-03-05 05:33 PM
Examples of using Rich Text in applescript jcater OmniFocus Extras 1 2008-02-09 02:38 AM
Applescript examples?? jem OmniFocus 1 for Mac 2 2007-08-24 01:34 AM
Help/Examples Applescript pslade OmniPlan General 3 2007-08-06 01:33 PM


All times are GMT -8. The time now is 03:24 PM.


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