Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

QUERY action

...

FunctionQuery (question) for the operator into the defined
process
D2000 HI process.
Declaration


Blok kódu
languageesl
themeConfluence
identInt :=   QUERYstrExpression [SINGLE] TIMEOUT number
 



or
 


Blok kódu
languageesl
themeConfluence
identInt :=   QUERY strExpression  [SINGLE] ON procIdent   TIMEOUT number


Parameters


identIntinIdentifier of the Int type for saving a response.
strExpressioninExpression of the String type.
procIDentinIdentifier of the Process type object (Human Interface).
TIMEOUT numberinMaximal wait time for response [s].
SINGLE
 

Allows
to display
displaying single queries in form of a classic dialog box instead of a list. Multiple queries are still displayed as a list.


Description

The action will show a text message (value of the expression strExpression) on the desktop of the defined

process

D2000 HI process as a query, and the operator may respond to which (clicking a button) in three modes. According to the mode of a response, one of the following values will be assigned to the identifier identInt:


Response mode
Value
The value assigned to the identifier identIntMeaning
Yes_Q_YESAcceptance
No_Q_NORefusal
I don't know_Q_DONTKNOWThe decision is up to script.
Timeout expiration_Q_TIMEOUTThe decision is up to script, a query has not been answered.


Example

Example of a single query if "SINGLE" is used in the command.

Image Modified

Example of a single query if "SINGLE" is not used in the command.

Image Modified

Selected queries may be saved into the clipboard (CTRL+C).

...

Info
titleRelated pages:

Script actions

...