UI html panel

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Example)
Line 1: Line 1:
This command is a [[UI Commands|UI Command]]. This command creates a blank panel in the ui area in which you can use html, css, and  
+
This command is a [[UI Commands|UI Command]]. This command creates a blank panel in the ui area in which you can use html, css, and javascript to design your own ui.  
javascript to design your own ui. The command is used for the creation of custom fields, checkboxes, drop downs and other html elements.  
+
 
 +
The command is used for the creation of custom fields, checkboxes, drop downs and other html elements.  
  
 
== Example ==
 
== Example ==

Revision as of 15:38, 14 April 2013

This command is a UI Command. This command creates a blank panel in the ui area in which you can use html, css, and javascript to design your own ui.

The command is used for the creation of custom fields, checkboxes, drop downs and other html elements.

Example

Custom created fields are assigned variables that are used to integrate with the rest of your script in UBot Studio.


ui html panel("<input type=\"checkbox\" variable=\"#myvar2\" fillwith=\"checked\"><input type=\"text\" variable=\"#myvar\" fillwith=\"value\">", 135)
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
type text(<username field>, #myvar2, "Standard")
type text(<first name field>, #myvar, "Standard")

Running the script inserts the values of the checkbox and the text box into the specified fields with the type text command.

File:Uihtml.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox