KB-28660: Opening and moving windowed screens.
Question: How can I open, move and keep opened several windowed screens? Solution: To do so, you must create a script on a button to open the screen: Application.GetFrame(Name).OpenScreen(“Screen1”), 0…
Question: How can I open, move and keep opened several windowed screens? Solution: To do so, you must create a script on a button to open the screen: Application.GetFrame(Name).OpenScreen(“Screen1”), 0…
Question: How can I create and view a Windows folder via scripts? Solution: To do so, you must create a script similar to the following example: Set fso = CreateObject(“Scripting.FileSystemObject”)…
Question: How can I record the current logged user’s name in the Historic? Solution: To do so, in the login’s script, you must set it to save the user’s name…
Question: Was DoModalOp method removed from E3 version 3.1? Solution: This method still exists to keep the compatibility with applications developed in older versions, but it is hidden and it…
Question: Why do the MsgBox and the Display objects show the same value of a variable, but in different languages? Solution: This happens because the MsgBox object uses the Visual…
Question: How can I concatenate two variables in E3? Solution: To do so, you must use “&” character. Example for concatenating variables: result = var2 & var3 Example for concatenating…
Question: How can I copy a file that is on another machine of the network via E3? Solution: This can only be done via scripts. Example (script being executed at…
Question: How can I get individual data about the current date (day, month, year, hour, minute and second)? Solution: To do so, you can use now command, which returns the…
Question: How can scripts be debugged in E3? Solution: If the script is executed in the Viewer, you can use the MsgBox’s Message command. If the script is executed in…
Question: How can I execute the Windows calculator via scripts? Solution: There are two ways to do so: 1) By using Viewer’s ExecuteExternalApp method, which executes external software. For example:…