Adding custom answer in Mac Spotlight
Asked Answered
F

1

7

I saw that we have access to calculator in Spotlight! And I wonder how an application can add custom answer like calculator do!

Thank you!

Forgather answered 8/9, 2011 at 21:30 Comment(0)
A
6

Simple answer: no, they can't. The only thing you can write is a custom importer your application that enable spotlight to index you application data (as documents or as a database)

Introduction to Spotlight (developer.apple.com)

Asa answered 8/9, 2011 at 21:37 Comment(2)
So, the functionalities of Calculator are hard-coded into the source of Spotlight?Hepatitis
Yes, same for the dictionary and web searches.Asa

© 2022 - 2024 — McMap. All rights reserved.