KB-29644: Global variables in E3’s scripts.
Question: Can I create a global variable in an object’s script that will be accepted by all other project’s script? Solution: No, there is no command that can do so…
Question: Can I create a global variable in an object’s script that will be accepted by all other project’s script? Solution: No, there is no command that can do so…
Question: I have inserted Login() method in Viewer’s OnStartRunning event. However, when I click on Cancel button in the login window, the screen opens anyway. How can I fix this?…
Question: How can I obtain the difference between the current date/time and the date/time input in a setpoint, in minutes? Solution: To do so, you can use the following script:…
Question: Can the Caps Lock key be enabled/disabled via E3? Solution: Yes, this cane be done via VBScript‘s SendKeys method. The script below toggles the Caps Lock key: set WshShell…
Question: Can I open Windows Explorer in a specific folder, via E3? Solution: Yes. With Run Application pick, you will just need to type the address of the folder in…
Question: On a frame, how can I open a screen on another frame? Solution: To do so, you can use a script with methods GetFrame() and OpenScreen(). Example: Application.GetFrame(“”).OpenScreen “NameOfTheFrame”,…