Skip to main content

Send-a-Form-and-Wait-for-the-Result

Command Description

Trigger the person to collect the design center to send a specified form message (the receiver has been specified inside the form), and waits for the form of the form to return

Command Prototype

jsonRet = FormCollaboration.SendFormData(formDict,objElement,objRect)

Parameter Description

ParameterRequiredTypeDefaultDescription
formDictTruedictionary{}Select "Collaborative Action" of the "Form Enter" type from the Human Coordination Center, and set the data binding of the form field to log in to Commander
objElementTruedecorator@ui""Interface elements selected with the mouse, including information about windows and elements. Or users can select an existing interface element from the UI Library
objRectTruedictionary{"x":0,"y":0,"width":0,"height":0}Range of the screenshot of the specified interface element. If the range is passed as {"x":0,"y":0,"width":0,"height":0}, then a screenshot of the total area of the element will be taken, otherwise, the screenshot of specific height and width will be taken with the upper left corner of the element as the origin

return

jsonRet,The variable used to save the output of the command.

Demo