The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Set Due date=today with Applscript? (http://forums.omnigroup.com/showthread.php?t=11326)

jamester 2009-02-14 11:28 AM

Set Due date=today with Applscript?
 
Hi,

I could really use some help....I'd like to modify this line to set the task duedate = today

parse tasks with transport text theText as single task singleTask

Thanks,

james

Brian 2009-02-16 09:08 PM

I [I]think[/I] all you need to do is insert
[CODE]with properties {start date:current date}[/CODE]
at the end of the line, but my applescript is kinda rusty. If that doesn't work, give us a link to the script you're tring to modify and folks can probably be of more assistance.

slandsman 2009-03-31 02:38 PM

[QUOTE=Brian;55283]I [I]think[/I] all you need to do is insert
[CODE]with properties {start date:current date}[/CODE]
at the end of the line, but my applescript is kinda rusty. If that doesn't work, give us a link to the script you're tring to modify and folks can probably be of more assistance.[/QUOTE]

I have a similar question. I schedule tasks based on a per-day granularity, so my "Default Time for Due Dates" is set to 11:59pm, not 12:00am. Therefore, when I set a task to due "today", it is really due within that calendar day, and not automatically overdue.

So, I want my applescript to do the right thing, which is to set a task due "today", which respects the "Default Time for Due Dates". "current date" gets you the current date and time, not the "today" value.


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

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