Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set the current day to the middle of iCal's week view' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set the current day to the middle of iCal's week view
Authored by: omegawolf on Dec 15, '06 12:13:53PM

I'm feeling like a real mo-ron here... I copied and pasted from the linked code (not from the body of the article), and placed it into the example filename in the ~/Library/LaunchAgents/ directory (which I had to create myself). I logged out & back in just to see that it was working the way it should.. but no dice.

I ran the suggested launchctl command, but it says the script is already loaded. Yet here it is, Friday, and the week view is still starting on Sunday.

Did I need to compile this applescript code? Am I missing something that I just didn't notice in the article?



[ Reply to This | # ]
Set the current day to the middle of iCal's week view
Authored by: JonLaliberte on Dec 15, '06 01:48:19PM

It will only run if your system is running at 12:01am. If you would like it to run whenever you boot or login, add:
"<key>RunAtLoad</key>
<true/>"

right below the closing array tag "</array>"
This will have the effect of opening iCal when the script runs. You could change the Applescript in the launchd document to remove the "tell application "iCal" to activate" to remove this behavior.



[ Reply to This | # ]