Options
All
  • Public
  • Public/Protected
  • All
Menu

btt

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

ActionJSON

ActionJSON: Partial<AppPayload>

AppPayload

AppPayload: Record<string, any>

BttPayload

BttPayload: Record<string, any>

ChainDelayNextAction

ChainDelayNextAction: function

Type declaration

    • (timeout: number): Chain
    • Parameters

      • timeout: number

      Returns Chain

ChainEntry

ChainEntry: function

Type declaration

ChainExecuteScript

ChainExecuteScript: function

Type declaration

    • Parameters

      • code: string

      Returns Chain

ChainHapticFeedback

ChainHapticFeedback: function

Type declaration

    • Parameters

      • mode: number

      Returns Chain

ChainLaunchApplication

ChainLaunchApplication: function

Type declaration

    • (applicationPath: string): Chain
    • Parameters

      • applicationPath: string

      Returns Chain

ChainLockScreen

ChainLockScreen: function

Type declaration

ChainLogout

ChainLogout: function

Type declaration

ChainMoveMouse

ChainMoveMouse: function

Type declaration

ChainMute

ChainMute: function

Type declaration

ChainQuitBTT

ChainQuitBTT: function

Type declaration

ChainResponse

ChainResponse: CallResult

ChainRestartBTT

ChainRestartBTT: function

Type declaration

ChainSaveSelectedText

ChainSaveSelectedText: function

Type declaration

ChainSendShortcut

ChainSendShortcut: function

Type declaration

    • (shortcut: string, applicationPath: string, mdlsName?: string): Chain
    • Parameters

      • shortcut: string
      • applicationPath: string
      • Optional mdlsName: string

      Returns Chain

ChainSendText

ChainSendText: function

Type declaration

ChainShowHUD

ChainShowHUD: function

Type declaration

ChainShowNotification

ChainShowNotification: function

Type declaration

ChainShowWebView

ChainShowWebView: function

Type declaration

ChainSleepComputer

ChainSleepComputer: function

Type declaration

ChainSleepDisplay

ChainSleepDisplay: function

Type declaration

ChainStartSiri

ChainStartSiri: function

Type declaration

ChainToggleApplication

ChainToggleApplication: function

Type declaration

    • (applicationPath: string, binaryPath: string): Chain
    • Parameters

      • applicationPath: string
      • binaryPath: string

      Returns Chain

ChainToggleBTT

ChainToggleBTT: function

Type declaration

ChainToggleDarkMode

ChainToggleDarkMode: function

Type declaration

ChainToggleDnD

ChainToggleDnD: function

Type declaration

ChainToggleMouseCursor

ChainToggleMouseCursor: function

Type declaration

ChainToggleMouseSize

ChainToggleMouseSize: function

Type declaration

ChainToggleMouseSpeed

ChainToggleMouseSpeed: function

Type declaration

ChainToggleNightShift

ChainToggleNightShift: function

Type declaration

ChainToggleTrueTone

ChainToggleTrueTone: function

Type declaration

ChainTriggerShortcut

ChainTriggerShortcut: function

Type declaration

    • (shortcut: string): Chain
    • Parameters

      • shortcut: string

      Returns Chain

DelayNextAction

DelayNextAction: function

Type declaration

ETRMoveMouseToBottomLeftCorner

ETRMoveMouseToBottomLeftCorner: ETRMoveMouseToCorner

ETRMoveMouseToBottomRightCorner

ETRMoveMouseToBottomRightCorner: ETRMoveMouseToCorner

ETRMoveMouseToTopLeftCorner

ETRMoveMouseToTopLeftCorner: ETRMoveMouseToCorner

ETRMoveMouseToTopRightCorner

ETRMoveMouseToTopRightCorner: ETRMoveMouseToCorner

EventCallback

EventCallback: function

Type declaration

ExecuteScript

ExecuteScript: function

Type declaration

HapticFeedback

HapticFeedback: function

Type declaration

KeyCombo

KeyCombo: string

LaunchApplication

LaunchApplication: function

Type declaration

LockScreen

LockScreen: function

Type declaration

Logout

Logout: function

Type declaration

MoveMouse

MoveMouse: function

Type declaration

Mute

Mute: function

Type declaration

QuitBTT

QuitBTT: function

Type declaration

RestartBTT

RestartBTT: function

Type declaration

SaveSelectedText

SaveSelectedText: function

Type declaration

SendShortcut

SendShortcut: function

Type declaration

    • (shortcut: string, applicationPath: string, mdlsName?: string): ASendShortcut
    • Parameters

      • shortcut: string
      • applicationPath: string
      • Optional mdlsName: string

      Returns ASendShortcut

SendText

SendText: function

Type declaration

ShowHUD

ShowHUD: function

Type declaration

ShowNotification

ShowNotification: function

Type declaration

ShowWebView

ShowWebView: function

Type declaration

SleepComputer

SleepComputer: function

Type declaration

SleepDisplay

SleepDisplay: function

Type declaration

StartSiri

StartSiri: function

Type declaration

ToggleApplication

ToggleApplication: function

Type declaration

ToggleBTT

ToggleBTT: function

Type declaration

ToggleDarkMode

ToggleDarkMode: function

Type declaration

ToggleDnD

ToggleDnD: function

Type declaration

ToggleMouseCursor

ToggleMouseCursor: function

Type declaration

ToggleMouseSize

ToggleMouseSize: function

Type declaration

ToggleMouseSpeed

ToggleMouseSpeed: function

Type declaration

ToggleNightShift

ToggleNightShift: function

Type declaration

ToggleTrueTone

ToggleTrueTone: function

Type declaration

TriggerShortcut

TriggerShortcut: function

Type declaration

WebViewWindow

WebViewWindow: Window & object

Variables

Const NAMESPACE

NAMESPACE: "87a84aef-11fe-4dce-8d00-429cea46f345" = "87a84aef-11fe-4dce-8d00-429cea46f345"

Let Utils

Utils: Utilities

Functions

Action

Chainable

  • Chainable(): Function

EventMethod

  • EventMethod(methodName: string): Function
  • This decorator initializes the given method as a event equivalent of particular btt instance

    Parameters

    • methodName: string

    Returns Function

EventPayloadTemplate

  • EventPayloadTemplate(passedData: Record<string, any>): string

checkBlackListPresence

  • checkBlackListPresence(theClass: Class<BaseAction>, blacklist: string[]): boolean