KB-31863: Fechando o Keypad quando pressionado o Enter.
Descrição: Como fechar o Keypad quando o botão Enter for pressionado? Solução: Uma possibilidade é criar um script na tela desejada, no evento OnKeyPress, e selecionar a tecla ENTER (Return).…
Descrição: Como fechar o Keypad quando o botão Enter for pressionado? Solução: Uma possibilidade é criar um script na tela desejada, no evento OnKeyPress, e selecionar a tecla ENTER (Return).…
Question: How can I open a pop-up window from another pop-up window, closing the first window in the process? Solution: To close the first pop-up window, follow these procedures: Create…
Question: How can I retrieve the number of characters in a string? Solution: To do so, use VBScript’s Len function. Sample script to be executed at a button’s Click event:…
Question: How can I convert an integer into a string? Solution: To do so, use VBSscript’s CStr command. For example: CStr(15).
Question: Can objects from two different screens be linked to one another? Solution: No, they can’t. If it is really necessary to link these objects, you can add internal tags…
Question: Is there a function similar to SCADA’s StrZero in VBScript? Solution: No, there is no such function in VBScript. However, this could be worked around with this script: Dim…
Question: How can I set Windows’ clock via E3 scripts? Solution: To do so, use DATE and TIME commands via DOS command line. It can be inserted in a script…
Descrição: Como converter o valor de um contador em segundos para o formato de horas, minutos e segundos (por exemplo, converter 70 segundos para o formato 00h 01min 10seg)? Solução:…
Question: How can I pass additional parameters for opening a screen via scripts? Solution: To do so, you can use Parameter field in Open Screen pick. In OnPreShow event of…
Question: How can I convert an absolute decimal value into its separate RGB values? Solution: To do so, you will need to use scripts. In the example below, the script…