Using task categories in vbs for email notifications

J

john

We are currently using vbs scheduled tasks to generate email notifications to
multiple users for outlook tasks.

We need to be able to define categories to enable specific messages in the
emails but i can't find anywhere to input the task category into the script.
Similar to the status CurrentTask.Status=3 how can we pick out categories
that we have manually added?

Hope you understand what i am getting at. eg if category xxx say this and if
category yyyy then say this.

Thanks
 
K

Ken Slovak - [MVP - Outlook]

I don't understand the problem.

If you have a TaskItem declared as objTask then objTask.Categories is the
categories for that item. You can either read or write that string property.
If you want to know what it contains then read it into a string and do
whatever string parsing you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top