KB-32719: Extracting characters from the left or from the right with VBScript.
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 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 log in to an application with a barcode?Solution:To do so, follow these procedures:First, make sure you have the device (barcode) set up and working properly…
Autor
Mateus Machado
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 force the use of a scrollbar with DoModal method? Solution: To do so, you must add zoom type to “Screen” parameter, as well as a question…
Question: How can I add date and time to a report’s name, so that every time a report is loaded and exported, a new PDF file is generated with a…
Question: I have a MsgBox command in a script running in the data server. However, the message is not being displayed when the application is executed. How can I fix…
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…
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…