hammerspoon2-docs
    Preparing search index...

    Function search

    • The events in a date range whose title, location, notes or URL contain some text (ignoring case), sorted by start date.

      Parameters

      • query: string

        The text to look for

      • start: Date

        The start of the range

      • end: Date

        The end of the range

      • OptionalcalendarIDs: string[] | null

        The ids of the calendars to search (default: all of them)

      Returns HSCalendarEvent[]

      The events

      Throws an Error on failure; wrap calls in try/catch to handle it.