PDA

View Full Version : Kiloweeks in iCal



iPirate
25th June 2007, 06:24 PM
Ok, I hate to be really random and geeky at the same time, but what the hell...

Is it possible to make a script, or an automator action that would simulate me pressing the :cmd: + -> keys (that is, the command and right arrow keys) say, 1000 times. A friend of me wants to know if they missed their kiloweek of age but I seriously do not want to press :cmd: + -> 1000 times from their birthday just to find when their kiloweek is.

Does anyone have an idea what I could do to do this? I seem to remember I wanted to do another similarly repetitive thing once before but gave up on that, so it would be useful to know if this can be done for other applications (such as only acts on application "iCal" or only acts on frontmost application, etc.

Thanks in advance

marc
25th June 2007, 06:26 PM
http://www.apple.com/downloads/dashboard/calculate_convert/sincewhen.html

That'll tell you how many days. I assume 7000 days is what you're after.

tcn33
25th June 2007, 06:29 PM
You could just use this (http://www.timeanddate.com/date/dateadd.html).

iPirate
25th June 2007, 06:29 PM
Well that's sorted then. Thanks. That was quite the quick.

Edit: This is just getting better and better. Not quite my original idea, but gets the job done just the same.