mqscript_fw_addtextview
Adds a text display element to a floating window in mobile automation scripts, specifying position, size, and content for UI creation.
Instructions
Add text view to floating window
Input Schema
Name | Required | Description | Default |
---|---|---|---|
controlId | Yes | Control ID | |
height | No | Height | |
text | No | Display text | Text |
width | No | Width | |
windowId | Yes | Floating window ID | |
x | No | X position in window | |
y | No | Y position in window |
Input Schema (JSON Schema)
{
"properties": {
"controlId": {
"description": "Control ID",
"type": "string"
},
"height": {
"default": 30,
"description": "Height",
"type": "number"
},
"text": {
"default": "Text",
"description": "Display text",
"type": "string"
},
"width": {
"default": 100,
"description": "Width",
"type": "number"
},
"windowId": {
"description": "Floating window ID",
"type": "string"
},
"x": {
"default": 10,
"description": "X position in window",
"type": "number"
},
"y": {
"default": 10,
"description": "Y position in window",
"type": "number"
}
},
"required": [
"windowId",
"controlId"
],
"type": "object"
}