<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > STW. - Search Top Window > Window Operations * STW. |
MiniRobotLanguage (MRL)
"J" - Flag "window to front"
Search Top Window
Intention
The window comes to front already with the default window treatment, without any additional flags. But you can disable that, and select yourself exactly what you want.
Like this:
STW.AJc|WindowClass
MMV.
The "A" Flag will switch of all default window treatment. Then comes the "J"-Flag and tells the robot to bring the window to front. Be careful with the operator priority. If you place the prototypes like this:
STW.JAc|WindowClass
MMV.
then the "A"-Flag will switch of the "J"-Flag because it is more right and therefore has a higher priority.
The "J"-Flag itself will not disable the default window treatment. Therefore something like:
STW.Jc|WindowClass
MMV.
is possibly a waste of letters, as the default behavior of STW. is already to bring the window to front.
Note that the Flag "B" does not switch off the "J"-Flag, therefore when using "B", the sequence of the prototypes "B" and "J" should not be a issue.
Example
'#EXE:?pfad\
'#SPI:ForceWrite
'
' Locate the Application (Top-)Window
STW.AJc|#32768
' Locate the button
MMV.
MBX. Compare with this:
STW.Ac|#32768
' Locate the button
MMV.
ENR.
Remarks
Limitations:
See also: