$list item

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
type text(<username field>, $list item(%my list, 3), "Standard")
 
type text(<username field>, $list item(%my list, 3), "Standard")
 
</pre>
 
</pre>
 +
  
 
[[File:listitem.png]]
 
[[File:listitem.png]]
 +
  
 
Running the script will fill the field with the list item specified in the list item function.
 
Running the script will fill the field with the list item specified in the list item function.

Revision as of 18:21, 21 May 2013

$list item is a Data Function.

This function will return the list item at the specified position. You can either specify the position by typing in a position number in the functions, or you can set the position with a variable for example.


List: The desired populated list where the list item will be pulled from.


Position: The position of the list item being pulled from the list.


Example

clear list(%my list)
add list to list(%my list, $list from text("list item 0, list item 1,list item 2, list item 3,list item 4,list item 5", ","), "Delete", "Global")
type text(<username field>, $list item(%my list, 3), "Standard")


File:Listitem.png


Running the script will fill the field with the list item specified in the list item function.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox