Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to refresh a subscribed calendar?



> From: Robert Nicholson <email@hidden>
> What applescript API is there that can refresh a subscribed ical
> calendar?

You can reload calendars using
   tell application "iCal" to    reload calendars

But this doesn't refresh remote subscribed calendars.

Calendars themselves don't have a refresh verb, nor can you access the
auto-refresh property of a subscribed calendar by AppleScript.

So I think the only way would appear to be using system events:

tell application "iCal"
    activate
    tell application "System Events"
        keystroke "R" using {command down, shift down}
    end tell
end tell



Cheers,
tm


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >How to refresh a subscribed calendar? (From: Robert Nicholson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.