Window Operations * ITW. / NTW.

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Window Operations > ITW. - If Top Window >

Window Operations * ITW. / NTW.

"J" - Flag "window to front"

Previous Top Next


MiniRobotLanguage (MRL)

 

"J" - Flag "window to front"

If 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:

 

ITW.AJc|WindowClass

MMV.

EIF.

 

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:

 

ITW.JAc|WindowClass

MMV.

EIF.

 

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:

 

ITW.Jc|WindowClass

MMV.

EIF.

 

is possibly a waste of letters, as the default behavior of ITW. 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

ITW.AJc|#32768

' Locate the button

MMV.

MBX. Compare with this:

EIF.

ITW.Ac|#32768

' Locate the button

MMV.

EIF.

ENR.

 

 

 

 

Remarks

 

 

 

 

Limitations:

 

 

 

 

See also: