PowerKeys Scripting API
    Preparing search index...

    PowerKeys Scripting API

    PowerKeys scripts run in a deny-by-default sandbox. A function tagged @requires <capability> throws Error("Permission denied: <capability>") until that capability is granted in the script's Permissions editor. @requires network also requires the request host in the script's host allowlist, or the "*" wildcard. Functions without @requires do not need a capability grant.

    TimeAPI
    Time
    ConsoleAPI
    Console
    KeyboardAPI
    Keyboard
    MouseAPI
    Mouse
    HIDAPI
    HID
    HotkeyAPI
    Hotkey
    HotstringAPI
    Hotstring
    WindowAPI
    Window
    ScreenAPI
    Screen
    StorageAPI
    Storage
    UI
    ClipboardAPI
    Clipboard
    HTTPAPI
    HTTP
    WorkspaceAPI
    Workspace
    Base64API
    Base64
    NotificationsAPI
    Notifications
    ChannelAPI
    Channel
    Byte
    ByteCount
    CssFontWeight
    CssLength
    DataGridRowIndex
    HidUsage
    HidUsagePage
    HttpStatusCode
    ImageContrast
    ImageRotationToleranceDegrees
    ImageSizeTolerance
    KeyboardEventFlags
    KeyboardModifierFlags
    KeyboardScanCode
    LogicalPixels
    Milliseconds
    MouseButtonData
    MouseButtonFlags
    MouseClickCount
    MouseEventFlags
    MouseWheelDetents
    PhysicalPixelExtent
    PhysicalScreenCoordinate
    PositivePhysicalPixelExtent
    ProcessId
    RawMouseMotionValue
    UINumericValue
    UnitInterval
    UsbProductId
    UsbVendorId
    VirtualKeyCode
    WindowControlClassIndex
    WindowsMessageId
    WindowsMessageLParam
    WindowsMessageWParam
    KeyEvent
    KeySequence
    MouseButtonCombo
    MouseButtonName
    MouseClickButton
    MouseUpOptions
    MouseButtonOptions
    MousePosition
    RawMouseEvent
    HidDeviceInfo
    HidEvent
    EventCallback
    MaybePromise
    HotkeyOptions
    HotkeyUpOptions
    WindowBounds
    WindowControlInspection
    WindowInfo
    WindowInspectOptions
    WindowInspection
    WindowQuery
    ImageSearchReason
    ImageMatchResult
    ImageSearchDiagnostics
    ImageSearchOptions
    ScreenSearchRegion
    DataGridColumnType
    ContainerWrapper
    DataGridColumn
    DataGridWrapper
    DisplayValueWrapper
    HotkeyCaptureWrapper
    TabGroupWrapper
    UIBoxOptions
    UIContainer
    UIElement
    UIElementOptions
    UIOverlayOptions
    UIOverlayWindow
    UIProgressOptions
    UISpacerOptions
    UIStyle
    ValueWrapper
    HttpJsonErrorCode
    HttpMethod
    HttpSendRequestErrorCode
    HttpDownloadFileOptions
    HttpDownloadFileResponse
    HttpJsonParseError
    HttpJsonResponse
    HttpRequestOptions
    HttpResponse
    HttpResponseHeaders
    HttpSendRequestError
    HttpUploadFileOptions
    HttpUploadFileResponse
    WorkspaceEntry
    ChannelHandle