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

 
Getting preference values with AS Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
All,

For my Populate Template Placeholders script, I'm trying to read the value of OF's OFMTaskDefaultDueTimeDateComponents preference. So far, no joy. The following works, but I'm not able to get at any of the properties of the preference.

Code:
tell application "OmniFocus"
	set theDueTimePreference to (first preference whose id is "OFMTaskDefaultDueTimeDateComponents")
	return theDueTimePreference
end tell
I tried return value of theDueTimePreference, but get a handler error.

Any suggestions?

Thanks.
__________________
Cheers,

Curt
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Object properties based on key-values? josh OmniGraffle General 0 2010-04-08 06:02 AM
scripting new tabs with form values? Gregory OmniWeb General 1 2009-02-09 12:39 PM
Setting default values in a field joeworkman OmniOutliner 3 for Mac 2 2008-09-24 01:23 PM
assigning efficiency values to tasks ? mr_projects OmniPlan General 4 2007-10-31 11:40 AM


All times are GMT -8. The time now is 09:23 AM.


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