Q: make an ical event with AppleScript
Hi,
Sorry for my english because I'm french and I speak english just a little.
My question is the following :
I want to write a script with AppleScript to create an event in iCal and I want to specify the status Free/Busy.
My script is :
tell application "iCal"
tell calendar "My Calendar"
set theCurrentDate to current date
make new event at end with properties {description:"Event Description",
summary:"My rendez-vous", location:"Paris", start date:theCurrentDate,
end date:theCurrentDate + 120 * minutes}
end tell
end tell
Now I want to specify the status "Busy" to this event. I find on the internet the command FBType but I don't know how it works.
What is the command line to do this ?
Would you like to help me ?
Thank you for your help
OS X El Capitan (10.11.3), null
Posted on Mar 5, 2016 4:40 PM