hammerspoon2-docs
    Preparing search index...

    Function setCapsLockState

    • Sets the system-wide state of CapsLock.

      Parameters

      • state: boolean

        true to turn CapsLock on, false to turn it off

      Returns boolean

      The new state, or false if the change could not be applied