|
|
Schedule iCal meetings from Address Book
This is a revision that creates an event in iCal instead of a ToDo. I also changed it to pop-up on the email field in Address Book since I have many contacts with just an email and no address.
* Change "60 * minutes" to however many minutes you want as the default duration of the meeting. * Change "-15" to the interval in minutes between the event and the alarm: (positive for alarm that trigger after the event date or negative for alarms that trigger before) that you want as the default. I just can't get the code to put the person from the address book into the Attendees field .. anyone got any suggestions?
Schedule iCal meetings from Address Book
That's very cool, but it makes it an event in a calendar I've *subscribed* to (ie. an uneditable calendar)! How can I choose which calendar it goes to?
Schedule iCal meetings from Address Book
Nevermind; found it. Now I'm trying to get the attendees bit working. No luck so far...
Schedule iCal meetings from Address Book
Sorry - I actually meant to put that in so it could be changed ... for anyone else who is wondering - you can change the calendar for the hint to be put in by changing the number 7 in the line:
As far as I can see, it numbers the calendars down from the top of the list (7 happens to be my "Meetings" calendar).
Schedule iCal meetings from Address Book
My curiosity was piqued by the "make new attendee" block that was commented out. I got it working, thanks to a link at macscripter.net (search for " Sun Nov 09, 2003 1:44 amĀ "). The final version adds an attendee for the person you selected.
(sorry for the horrendous formatting)
Schedule iCal meetings from Address Book
This is fantastic -- but one more question: how can I attach the script to a field that will appear in ALL of my address book entries? That is --
Schedule iCal meetings from Address Book
This is fantastic -- but one more question: how can I attach the script to a field that will appear in ALL of my address book entries? That is --First, the script requires the email address for the attendee, so I'm not sure how you'd get around that. To answer your question, however, would require someone to answer who understands that on action property bit. I don't. :-)
Brute force solution
I apologise if I'm describing anything obvious to you, but if you open Applescript Editor, and select "Open Dictionary ..." from the "File" menu, and select iCal (the first iCal in the list), you can look at all the commands and classes that you can access from Applescript for iCal.
Schedule iCal meetings from Address Book
Great! Who would've known that a change from "end of attendees" to "beginning of attendees" was the key!
Schedule iCal meetings from Address Book
Apparently there's a bug with creation of attendees, as referenced in that macscripter forum. You can't do something like
iCal throws an error (which you probably found out). Actually, I haven't tried doing the above with beginning instead of end...
That's my first successful bit of AppleScript, by the way. :-)
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|