hammerspoon2-docs
    Preparing search index...

    Function findByName

    • Find the first camera whose name matches the given string.

      Parameters

      • name: string

        The device name to search for (exact match)

      Returns HSCamera | null

      An HSCamera if found, null otherwise