View Single Post
Hi,

I am working on a folderactions script that will add the text that is dropped into the folder into OmniFocus. I am a fairly new applescripter so please be kind...:D I am having a problem adding a date to any of the date fields. I do have the parsing of my text into my actions but nothing happens with the date fields. TIA

d

Code:
tell application "OmniFocus"
tell default document
parse tasks with transport text theText as single task singleTask
set start date of selectedItem to (currDate)
set due date of selectedItem to (currDate)								
end tell
end tell