As part of a longer script I am trying to create calendar events and add a category to that event;

set newEvent to make new calendar event with properties {all day flag:true, subject:myEvent, location:myLocation, start time:startTime, end time:endTime}


creates the event but what I can not work out is then how to set the category to that new event?

PRH