Using task categories in vbs for email notifications

  • Thread starter Thread starter john
  • Start date Start date
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
 
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.
 
Back
Top