hammerspoon2-docs
    Preparing search index...

    Function create

    • Creates and returns a new, unconfigured Spotlight query. Configure it with setQuery(), setScopes(), and setCallback(), then call start(). The query is automatically stopped and released when the module shuts down.

      Returns HSSpotlightQuery

      A new HSSpotlightQuery