KB-35031: Opening a modal screen via buttons.
Question: How can I open a modal screen by using a button? Solution: To do so, follow these procedures: Insert a button onto screen and access its Scripts tab. On…
Question: How can I open a modal screen by using a button? Solution: To do so, follow these procedures: Insert a button onto screen and access its Scripts tab. On…
Question: How can I have a script search for the last value that was recorded on a table? Solution: To do so, you must set up an SQL query that…
Question: How can I tell whether the current day is a Saturday or a Sunday? Solution: To do so, you must use VBScript‘s Weekday function. This function returns a number…
Question: How can I check whether an XObject’s IOTag property is empty? Solution: To do so, you can use VBScript‘s IsNull method. This method returns TRUE if the variable has…
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…
Question: How can I open a specific Internet Explorer page via E3? Solution: To do so, you must use a Run Application pick to open Internet Explorer (C:\Program Files\Internet Explorer\iexplore.exe),…
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)
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…