KB-33788: Adding values to a ComboBox.
Question: How can I add values to a ComboBox? Solution: To add values to a ComboBox, you must create a script using this object’s AddItem method. This method should preferably…
Question: How can I add values to a ComboBox? Solution: To add values to a ComboBox, you must create a script using this object’s AddItem method. This method should preferably…
Question: How can I retrieve the current time via scripts? Solution: To do so, you can use VBScript‘s Hour function. Example of script: VARIABLE = Hour(Now)
Question: When communicating with VBScript driver, how can I access the elements of a Block Tag via scripts? Solution: To access the block elements, you must use an array. For…
Autor
Paula Pereira Enéas
1) Introduction E3 supports the creation of scripts in VBScript language, with almost all resources available for this language. There is an extensive documentation for VBScript available in many different…
Question: Can I create a button that minimizes the Viewer of the application being executed instead of using Windows’s default buttons? Solution: Yes; to do so, you will need to…
Autor
Irene Rodrigues
Question: How can I scan all links from an object, returning the property’s name and the source? Solution: The example below is a script in the server. It scans an…
Question: How can I work with a number’s nth root in E3? Solution: To work with square roots, use VBScript’s Sqr function. Example of script: Dim MySqrMySqr = Sqr(4) ‘…
Question: Which function returns the object type? Solution: The function is TypeName(). Example of script: Dim ArrayVar(4), MyTypeNullVar = Null MyType = TypeName(“VBScript”) ‘ Returns “String”.MyType = TypeName(4) ‘ Returns…