Using an Apple script, I want to be able to programatically assign a
category to a task. For example, I want the user to be looking at the
Tasks view, highlight a task with the cursor, press a key combination
and toggle a category on or off. (I am using a "!Today" category to
indicate tasks that I want to do today.)

Can someone give me a little direction here, or, better yet, a code
snippet?

Thanks.

Re: Need Script Help: Assign Category to Task by Mickey

Mickey
Sat May 06 12:05:07 CDT 2006

I'm not sure you need AppleScript for this. See this help article for
instructions on how to create your own keyboard shortcuts in OS X 10.3 or
later.
<http://docs.info.apple.com/article.html?artnum=152140>

Just enter the category name as the menu title.

On 5/6/06 7:24 AM, in article
1146918269.216063.106420@g10g2000cwb.googlegroups.com,
"michael.hyatt@nospam.gmail.com" <michael.hyatt@gmail.com> wrote:

> Using an Apple script, I want to be able to programatically assign a
> category to a task. For example, I want the user to be looking at the
> Tasks view, highlight a task with the cursor, press a key combination
> and toggle a category on or off. (I am using a "!Today" category to
> indicate tasks that I want to do today.)
>
> Can someone give me a little direction here, or, better yet, a code
> snippet?
>
> Thanks.
>

--
Mickey Stevens (Microsoft MVP for Office:mac)
PowerPoint FAQ featuring PowerPoint:mac: <http://www.pptfaq.com/>
Entourage Help Page: <http://www.entourage.mvps.org/>


Re: Need Script Help: Assign Category to Task by michael

michael
Sat May 06 12:17:11 CDT 2006

That totally worked. Simple. Elegant. Practical. Thanks!