hammerspoon2-docs
    Preparing search index...

    Function setMethod

    • Switches the active input method to the one with the given localized name. Use methods() to enumerate valid names.

      Parameters

      • methodName: string

        The localized name of the input method to activate.

      Returns boolean

      true if the method was found and selected, false otherwise.