|
|
AppleScript better
Something that I think will be more useful to Mac heads is a FolderAction.
AppleScript is NOT better
No, the first thing I did was a folder action. They were too flakey. The actions kept disappearing mysteriously, first of all. Second, you couldn't drag-and-drop the mime-attachment to the folder directly because the mime-attachment was a read-only file. Third, you couldn't set the desktop to have folder actions and have that actually work. Fourth, even if actions worked robustly, while you can add Folder Actions to StartupItems, it was not straightforward to attach the folder action on login automatically. Fifth, Doing the regular expression replaces in AppleScript was going to be really messy, whereas it's simple from a shell script. The shell script also brought the entry up into iCal MUCH faster than the AppleScript solution.
AppleScript better
By the way, here's the final AppleScript I was using as a folder action. The action disappeared on a fairly regular basis. All this script does is call out to the shell command. |
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.18 seconds |
|