hammerspoon2-docs
    Preparing search index...

    Function matchingName

    • Fetch the first running application that matches a name

      Like runningApplications(), this never matches Hammerspoon 2's own helper processes.

      Parameters

      • name: string

        The application name to search for

      Returns HSApplication | null

      The first matching application, or nil if none matched