KB-32040: Converting strings into integers.
Question: How can I convert a string into an integer?Solution: To do so, you must use VBScript’s CInt function. For example: CInt(“string”)
Question: How can I convert a string into an integer?Solution: To do so, you must use VBScript’s CInt function. For example: CInt(“string”)
Question: How can I open the screen where a certain object is when its alarm is activated? Solution: To do so, follow these steps: 1. Insert an XObject in the…
Question: How can I create a pulse button using the CommandButton object? Solution: To do so, there are at least two possibilities: you can write two scripts in events of…
Question: At an application, I used DoModal() method in a CommandButton’s script at an application. Why does the button remains pressed on the main screen after the modal screen has…
Question: Can I increase the size of the window opened by a script using the ShowDatePicker() method? Solution: No, you cannot. The size of this window only increases if the…
Question: How can I convert a date/time variable into Double? Solution: To do so, you must use the VBScript’s CDbl() function.
Question: When creating a Message Box with the date, a random numeric value is displayed (for example, 39876,8934523). How can I set up the Message Box with the Date/Time format?…
Question: How can I set up a Modal Screen to be opened next to the Button pressed to open it? Solution: To do so, you must use ToPixelX() and ToPixelY()…
Question: How can I insert a line break in an E3 script? Solution: To do so, you must use an underscore character in the end of the line. For example:…
Question: Why is the script written in a tag’s OnRead() event not being executed? Solution: To execute it, you must set EnableDeadband property as TRUE. If the tag is not…