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 additionally 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
    Base64API
    Base64
    NotificationsAPI
    Notifications
    ChannelAPI
    Channel
    Byte
    CssFontWeight
    CssLength
    DataGridRowIndex
    HidUsage
    HidUsagePage
    HttpStatusCode
    KeyboardEventFlags
    KeyboardModifierFlags
    KeyboardScanCode
    LogicalPixels
    Milliseconds
    MouseButtonData
    MouseButtonFlags
    MouseClickCount
    MouseEventFlags
    MouseWheelDetents
    PhysicalPixelExtent
    PhysicalScreenCoordinate
    PositivePhysicalPixelExtent
    ProcessId
    RawMouseMotionValue
    UINumericValue
    UnitInterval
    UsbProductId
    UsbVendorId
    VirtualKeyCode
    WindowsMessageId
    WindowsMessageLParam
    WindowsMessageWParam
    KeyEvent
    KeySequence
    MouseButtonCombo
    MouseButtonName
    MouseClickButton
    MouseUpOptions
    MouseButtonOptions
    MousePosition
    RawMouseEvent
    HidDeviceInfo
    HidEvent
    EventCallback
    MaybePromise
    HotkeyOptions
    HotkeyUpOptions
    WindowBounds
    WindowInfo
    WindowQuery
    ImageMatchResult
    ScreenSearchRegion
    DataGridColumnType
    ContainerWrapper
    DataGridColumn
    DataGridWrapper
    DisplayValueWrapper
    HotkeyCaptureWrapper
    TabGroupWrapper
    UIBoxOptions
    UIContainer
    UIElement
    UIElementOptions
    UIOverlayOptions
    UIOverlayWindow
    UIProgressOptions
    UISpacerOptions
    UIStyle
    ValueWrapper
    HttpRequestBody
    HttpResponse
    ChannelHandle