Applescript error: reading the property list of non-inbox tasks
If the variable oTask refers to a non-inbox task,
Then the code: [CODE]set lstProps to properties of oTask[/CODE] generates the error message: [B]OmniFocus got an error: Only inbox tasks have assigned containers.[/B] In contrast, the following works fine: [CODE]tell application "OmniFocus" tell front document set oInboxTasks to inbox tasks repeat with oTask in oInboxTasks set lstProps to properties of oTask end repeat end tell end tell[/CODE] The error raised by non inbox tasks looks like a bug ... |
I agree, it would be nice to get the properties in a single event in a record.
Would reduce the AE overhead of my current project considerably. -P |
All times are GMT -8. The time now is 01:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.