Objectives:
- Outputting text in a dialog window
- Querying userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management. values
You can use AE's scripting language to create user-defined dialogs. You can output texts and/or query user values. To have dialogs displayed, activate the relevant objectAutomation Engine controlled activities and processes are structured in the form of objects. See also: Task via a user interface (UserInterfaceThis is the Automation Engine's graphical user interface. [Formerly called the "Rich Client", "RichGUI" and "Dialog Client."] or WebInterfaceDeprecated Term.).
In the first step, create a simple dialog that outputs text only. Use the scriptA particular Automation Engine object type. statements :BEGINREAD... :ENDREAD (specifies the beginning and end of a dialog window) in combination with :PRINT for this purpose.
Use the following scripting line:
:BEGINREAD
: PRINT "TEST"
:ENDREAD
It results in the following window:
In the second step, create a dialog that facilitates the input of data. The script element :READ can be used for this purpose (also referred to as READ mask).
The following example combines a :PRINT output and a :READ input in a dialog. The value is stored in a script variableA placeholder for a value within a script. (in this case, the variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. is directly created by using the script element :READ). Finally, the variable is output in the activation protocol.
:BEGINREAD
: PRINT "Text input"
: READ &INPUT#,"00","Please enter a text."
:ENDREAD
:PRINT "User text: &INPUT#"
Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support |
Copyright © 2016 Automic Software GmbH |