KB-32715: Script error message not displayed.
Question: How can I set up the script error messages to not be displayed on screen?Solution: To do so, use On Error Resume Next command at the beginning of the…
Question: How can I set up the script error messages to not be displayed on screen?Solution: To do so, use On Error Resume Next command at the beginning of the…
Question: Can I have user and password control at runtime? Solution: Yes. To do so, you must use a script with Viewer‘s UserAdministration method. Example of script (executed at a…
Question: Why do Access files not reduce their sizes after its records are deleted? Is there another way to make them release this space? Solution: This is Access’ normal behavior.…
Question: With two windowed screens, how can I click on a button and open the screen in the frame where the button is? Solution: In the button’s script, use the…
Question: How can I extract a certain amount of characters from a script’s left or right? Solution: To do so, use Left and Right functions to extract characters from the…
Question: How can I retrieve, via scripts, both user name and user group to which this user belongs? Solution: Username is retrieved by Viewer‘s User property. Example: dim user user…
How can a specific alarm be acknowledged inside E3Alarm via scripts? Alarm acknowledgement via scripts has been a feature of E3 since its version 3.2. To do so, three new…
Question: How can I open an E3 application with a button, so that this application opens only once? Solution: To do so, create an internal tag in the Viewer, and…
Question: How can I check, at runtime, whether an object’s Value property is already linked? Solution: To do so, use a script that is similar to the one in the…
Question: How can I synchronize the PLC’s date/time with the computer’s date/time (BIOS)? Solution: To do so, use this script: dim oShellSet oShell = CreateObject(“WSCript.shell”)oShell.run “cmd /K DATE “& Application.GetObject(“Dados.Data”).Value,0…