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

 
due date format Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
I want to write a script like this:
PHP Code:
tell application "OmniFocus"
    
tell default document
        set Val1 to 
"foo"
        
make new inbox task with properties {name:Val1due date:"1d"}
        
make new inbox task with properties {name:Val1due date:"3d"}
        
make new inbox task with properties {name:Val1due date:"7d"}
    
end tell
end tell 
but, I got error: "error "OmniFocus got an error: Can’t make \"1d\" into type date, missing value." number -1700 from "1d"".

I need help...
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
date + day format in Forecast erman OmniFocus 2 for Mac (Private Test) 0 2013-05-09 11:06 AM
British Date Format display option Drayon Forums Feedback 1 2009-06-24 01:43 PM
Date format in forums coconino Forums Feedback 1 2007-04-20 05:14 PM
How to change date format in date columns? realtyler OmniPlan General 9 2006-09-23 05:03 AM
Problems with date format adrians OmniPlan General 1 2006-08-08 01:09 AM


All times are GMT -8. The time now is 04:12 AM.


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