PDA

View Full Version : Tasks failure (The Apple Event Handler Failed)


wycats
11-21-2007, 02:44 AM
AppleScript root-level tasks (directly under a document) don't get populated, and attempting to enumerate them throws an error -10000 (the Apple Event Handler Failed)

Tim Wood
11-23-2007, 10:04 PM
The 'task' relationship on 'document' is there only to allow object specifiers for tasks elsewhere to be 'id' based ('task id "xyz" of document id "qrs"'). The document doesn't directly contain tasks, but it _does_ contain 'inbox tasks', so you should be able to access those directly).

I hope this helps!