KB-45204: Setting up a SetPoint to lose focus once Enter key is pressed.
Question: How can a SetPoint be set up to lose keyboard focus whenever Enter key is pressed? Solution: To do so, use the script below at KeyDown event of the…
Question: How can a SetPoint be set up to lose keyboard focus whenever Enter key is pressed? Solution: To do so, use the script below at KeyDown event of the…
Question: Is there any function that will help me find out an array’s size? Solution: Yes. To do so, you must use Ubound function. Example of script running in a button…
Question: How can I disable a button only for certain groups of users (for example, to keep users not belonging to Administrators group from accessing it when they are logged…
Question: How can a dynamic Array be declared? Solution: First, you must declare the array with no size. Then, use ReDim declaration to size the array as needed. Script being…
Question: How can I stop tag count on a Counter Tag briefly? Solution: To do so, just set ResetCounterWhenEnabled property as False and, in the desired event, execute two scripts:…
Question: How can I delete files in E3? Solution: To do so, use the following script: ‘Search for file to be deleted Application.ShowFilePicker True, File‘Delete fileSet filesys = CreateObject(“Scripting.FileSystemObject”)filesys.DeleteFile File…
Question: How can I create a button whose pulse lasts 1 second? Solution: To do so, you must use a Counter Tag, and set it up as described: CounterType: 0…
Question: How can I return the serial number of an HD installed in the computer? Solution: It is possible to do so by using the script below. It lists all…
Question: Why can’t I run and compile scripts (via E3 Studio) in my computer? When I issue the ‘compile’ message, no message is displayed in the message box below the…
Question: How can I reset the value of an InternalTag annually on January 1st? Solution: To do so, follow these procedures: 1. Add a TimerTag with the following configuration: a.…