The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Correct way to get a tasks "repetition" value. (http://forums.omnigroup.com/showthread.php?t=8675)

hendryx 2008-07-14 02:15 PM

Correct way to get a tasks "repetition" value.
 
I may just be in need of sleep here, but could someone point me at the correct way of doing this.

In my applescript I currently have;
[I]set repeatValue to repetition of oTask[/I]

but that is bringing up an applescript error.

Can anyone see what I'm sure I'm doing stupidly wrong here?

hendryx 2008-07-16 04:42 AM

Just incase anyone reads this later on, thought I'd post my mistake.

'repetition' will give you a 'missing value' if the task isn't repeated - so remember to test for that before you grab the value.

Also remember that if you're getting sleepy, you maybe should stop coding. :)


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

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