KB-34941: Executing an external program when the domain starts.
Question: How can I execute an application when the domain starts, even if there is no open E3Viewer? Solution: To do so, just place the following script at an Internal…
Question: How can I execute an application when the domain starts, even if there is no open E3Viewer? Solution: To do so, just place the following script at an Internal…
Question: How can I create a script that checks whether a certain file exists in a specific folder? Solution: To do so, you can use a script similar to the…
Question: How can I run a script whenever the domain starts? Solution: To do so, you must insert the script into a server object, since all server objects belong to…
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)