|
|
Link iCal events and to-dos to to any Mail message
Hi,
I wrote a little applescript that uses the message://messageId URL scheme. The script gets the message ID, escapes characters not allowed in a URL using a ruby script, and places the message URL on the clipboard. It can be adapted fairly easily to add the URL into an iCal event. I put it on the clipboard so that I put the URL anywhere I want it. Here's the applescript:
And here's the Ruby code (this could probably be done in perl, Applescript or anything you want, but I am learning Ruby and wanted to play with it some)
Hope this helps someone. Norm
Link iCal events and to-dos to to any Mail message
I forgot to note that the do shell script line in the applescript needs to have the path pointing to the location of the ruby script or perl script that performs the URL encoding.
Link iCal events and to-dos to to any Mail message
As FlyBoy states, you can do this without the Ruby script. I can't test this as I don't have MailTags.
Replace the following lines in the Applescript:
With:
John M
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.08 seconds |
|