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


Click here to return to the 'AppleScript to toggle calendar focus ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript to toggle calendar focus
Authored by: robleach on Jan 18, '13 11:06:57AM

So I'm the guy that posted the comment "Anyone know how to show just one calendar and then go back to the group of calendars that were previously checked? That would be awesome.".

I've been chatting with the guy who wrote the script, Dan. He actually implemented a version as I had suggested which doesn't require editing, which is awesome, but it appears that it is 10.8 specific. It wouldn't work on my 10.7 system. Still, I give the hint 5 stars! Perhaps at some point, I'll see if I can implement a 10.7 version, but it looks like the script getAppInterface, which I would be dependent upon to get the necessary app elements won't give me anything about the drop-down window that comes up when you click the calendars button. And Accessibility inspector does not seem to give me anything that will give me a list of available calendars to cycle through to check the visibility of. Anyone know of another way to discover the applescript hooks needed to gather the list of checked calendars?

Rob



[ Reply to This | # ]
AppleScript to toggle calendar focus
Authored by: applescripter on Jan 20, '13 07:02:42AM
Have you tried apple's UIElementInspector?
Available here.
(https://developer.apple.com/library/mac/#samplecode/UIElementInspector/Introduction/Intro.html)

[ Reply to This | # ]