Jump to content

Search in calendar


Recommended Posts

I'd like to search for my iCal calendar.

In Alfred 1 i've done it as represented in the pic in attach.

Frankly i don't remember how to add com.apple.ica.ics.event

I've added only ICS File but the search not works.

Any help would be highly appreciated.

 

Schermata_2013_05_15_alle_12_08_14.jpg

Link to comment

I'd like to search for my iCal calendar.

In Alfred 1 i've done it as represented in the pic in attach.

Frankly i don't remember how to add com.apple.ica.ics.event

I've added only ICS File but the search not works.

Any help would be highly appreciated.

 

Schermata_2013_05_15_alle_12_08_14.jpg

 

Try this.. instead of setting the file type, remove that, and click over to the advanced tab of the file filter. Click the + and select Other. Set the metadata field to kMDItemContentType. Double click the {query} value for that line and set it to 'com.apple.ical.ics.event'. Save and try again.

 

Let me know your results please :)

Link to comment

Great Tip!

 

I am able to find them, but hitting enter doesn't open them in iCal, what am I doing wrong?

 

If you add an Open File to the back end of the file filter, it will do one of two things. If Calendar.app is already open, it will display whatever month/week/etc that the event falls in. If Calendar.app is not open then it will simply open Calendar.app. This could potentially be enhanced with a bit of AppleScript but I don't know.

Link to comment

Nice! Thank you very much!

 

Next thing: Is there a way to extract date details and display as subtext?

 

That would require more of a custom workflow. The events would have to be found using mdfind and then read the ics file to get details and create Alfred feedback with the text you wanted.

Link to comment
  • 1 month later...

Hi,
 
I have attempted to follow this along as suggested by David's fix:
 

Click the + and select Other. Set the metadata field to kMDItemContentType. Double click the {query} value for that line and set it to 'com.apple.ical.ics.event'. Save and try again.

 
However, in running Alfred 2, there is no opportunity to manually enter the metadata or query in the preference pane:
 
Screen%20Shot%202013-06-24%20at%2018.33.
 
Can anyone determine what I might be doing wrong?

Link to comment

Hi,

 

I have attempted to follow this along as suggested by David's fix:

 

 

However, in running Alfred 2, there is no opportunity to manually enter the metadata or query in the preference pane:

 

Screen%20Shot%202013-06-24%20at%2018.33.

 

Can anyone determine what I might be doing wrong?

 

The way that we were doing it before was through a File Filter in a workflow which is only available as a Powerpack member. Can you confirm that you have purchased the Powerpack? 

Link to comment
  • 1 year later...

Hello.

 

Sorry, but it does not work for me. Do you see anything wrong ? 

I'm power pack registered user.

Screen capture below.

 

Thanks you.

 

http://hpics.li/60aea25

http://hpics.li/491b49c

http://hpics.li/153b801

http://hpics.li/8120db5

 

If I had to guess... this is due to sandboxing and Alfred doesn't have access to your calendar. If you go into System Preferences->Security and Privacy and select Calendars.. Is Alfred in the list on the right? Is he ticked?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...