Skip to main content
Skip table of contents

Supported TP_ Commands in WTP

Macro commands start with prefix "TP_" is run in clients / GUI (WTP belongs to GUI) (TurboPlayer has concepts as engine and GUI), and therefore, the parameters are local to clients.


Supported Commands

  • TP_StandardScreen
  • TP_Selection
  • TP_ChangeUserButtonProp

Introduction

TP_ commands are mainly used for User Button in WTP, the following section is taken from "Customize User Interface".

User Button

A user button can be configured, to trigger macros in TurboPlayer. The following arguments are available:

Title

Displayed text in user button (Example: Select Up)

Name

TurboPlayer macro name (Example: TP_Selection)

Parameter

Parameters which are handed over to TurboPlayer macro. (Example: *, Show, Up, 1)

Dynamic parameters:

  • “%Id%”: the Button ID (Button: Macro (ID: theID)) is handed over to macro
  • “%CursorId%”: the UI cursor selection is handed over to macro
  • for available commands and their parameters, query TurboPlayer and TurboPlayerService TechManual
  • for macro command TP_ChangeUserButtonProp specifictly, supported property name and value patterns include the following as examples: Background, #0000ff; Top, 100px; Left, 100px; Width, 50px; Height: 100px; Title, "User Button - New Title". (Font is not yet supported)

TP_ChangeUserButtonProp

Supported property names are as following:

  • Background
  • Top, Left
  • Width, Height
  • Title


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.