In Lion and Mountain Lion Apple gave this Spotlight search example:
- OS X Lion: Narrow down Spotlight search results: "meeting date:tomorrow searches for meetings you have planned for tomorrow."
- OS X Mountain Lion: Narrow down Spotlight search results: "meeting date:tomorrow"
Except I tried in Lion and Mountain Lion and that search string didn't do anything whereas iOS 6 Siri returns a list of meetings for 'tomorrow' (and comments first that I have "quite a lot of them, which is funny).
A partial fix is to use the Events Keyword (see also: Mac 101: Use Spotlight for quick review of Calendar events)
Calendar events
kind:event
kind:events
Alas, when I tested this is Spotlight and Calendar search things got weird. I think because all of my Calendars are synchronized from Gmail/Google I exposed some Spotlight bugs. At first searching for Kind:event would only display "Birthdays" (From Facebook?), but then I added a single Event on my iCloud Calendar (no way to create a purely local Calendar any more?). That seemed to awaken Spotlight and soon kind:even generated a LOT of hits from ALL my Calendars (same as searching on the '.' (dot) operator - old trick post Agenda removal).
Then I tried date operators while searching within Calendar.app
kind:event date:today
That returned an event from over a year ago (7/5/2012). Ok, that's bizarre.
So then I tried a date range using spotlight as a guide
kind:event date:6/29/13-7/25/13
That returned the same person's Facebook birthday, but from 2013 and 2014.
Then I tried the same search string in Spotlight, and I got a funny mixture of Calendars back.
So then I filtered out all the calendars I didn't want and I showed that either the old '.' or the newer Kind:Event search in Calendar.app would return a 10.5 style event list. Still, i couldn't get a date operator to work in Calendar.app search though -- it just interpreted it as a string (so 8/5/2013 worked to show events on that date, but 8/5/13 didn't work). The OS X date:tomorrow documentation didn't work.
So I hit a wall on this project, but I figure its worth sharing my experience for anyone looking further. If nothing else the links may be useful, and it was interesting to learn why Lion tips on changing days displayed in week view no longer work.
Editorial Comment: In my work day on Win 7 and Outlook 2007, I routinely use Calendar searches like <after:today Fred>. Apple's inability to support this kind of basic operation in their Calendar.app isn't a good sign.
See also
- Gordon's Tech: Restoring an iCal event (list) view in Leopard and other iCal oddities 10/2008
- Mountain Lion Calendar Event List -- old iCal techniques still work
- iCal: Highlight & delete all events or events within a date range I didn't try this, but I bet it works for deleting all items quickly within a date range.
- 8 Tips for iCal in Lion: Superb, but the terminal command doesn't work in Mountain Lion - it appears this option has been removed. See also: Show As Many Or As Few Days As You Like In Mountain Lion Calendar [OS X Tips] | Cult of Mac.
No comments:
Post a Comment