KB-28807: Setting up the Modal Screen’s position.
Question: How can I set up a Modal Screen to be opened next to the Button pressed to open it? Solution: To do so, you must use ToPixelX() and ToPixelY()…
Question: How can I set up a Modal Screen to be opened next to the Button pressed to open it? Solution: To do so, you must use ToPixelX() and ToPixelY()…
Question: Why is the script written in a tag’s OnRead() event not being executed? Solution: To execute it, you must set EnableDeadband property as TRUE. If the tag is not…
Question: How can I insert a line break in an E3 script? Solution: To do so, you must use an underscore character in the end of the line. For example:…
Question: How can I create a chronometer with E3 version 2.5? Solution: To do so, you must use a Demo Tag and an Internal Tag. First, you must configure the…
Question: How can I sort out into year, month, day, hour, and minute the value returned by the ShowDatePicker()? Solution: To do so, you must use specific VBScript’s methods, such…
Question: How can I display a default name on ShowFilePicker() method’s window when executing it? Solution: To do so, before executing ShowFilePicker() method, you must load a variable with the…
Question: How can I active a Button’s Click() event by right-clicking on it? Solution: To do so, you must write a script on the Button’s MouseUp event to check when…
Question: How can I set up a script to be executed after a certain time interval? Solution: To do so, follow these procedures: Insert a Timer Tag; Set the Enable…
Question: How can I create an E3Chart‘s Query and Pen at runtime? Solution: To do so, you must write a script using AddQuery and AddPen methods. For more details, check…
Question: How can I create and view a Windows folder via scripts? Solution: To do so, you must create a script similar to the following example: Set fso = CreateObject(“Scripting.FileSystemObject”)…