|
|
Add alarms to all existing iCal birthday events
You can also:
...{trigger interval:-(10*days)}days, hours, and minutes all work within applescript. HTH
Add alarms to all existing iCal birthday events
When I tried adding
...{trigger interval:-(10*days)}
It made all of the alarms 300 days after the event.
When I look in the iCal Applescript dictionary it says
display alarm n : This class represents a message alarm.
Add alarms to all existing iCal birthday events
From the hint: "The trigger interval parameter is in minutes; there are 1440 minutes in a day, so -14400 means 10 days before the event. "
So, you can't just do "10 * days", because that actually gives you the total number of seconds in 10 days, 864000. Divide that number by 60 to obtain minutes, which is 14400. So, instead of
{trigger interval:-(10*days)}, it should be {trigger interval:-((10*days) / (1 * minutes))}. Instead of "(1 * minutes)" you can just put 60, but the long way is more syntax illustrative.
Add alarms to all existing iCal birthday events
hey gopes,
Add alarms to all existing iCal birthday events
"that's strange that it's in minutes, most time values are in seconds in my experience." |
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.06 seconds |
|