Window Operations * ITW. / NTW.

<< Click to Display Table of Contents >>

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

Window Operations * ITW. / NTW.

"A" - Flag "No windows treatment"

Previous Top Next


MiniRobotLanguage (MRL)

 

"A" - Flag "No windows treatment"

If Top Window

 

 

Intention

 

ITW. has a default window-treatment to ensure that any further action in that window will be effective. This default treatment will do following:

- normalize minimized windows (like the "D"-Flag

- windows that are outside the desktop-workarea will be moved to 0,0 (like "G"-Flag)

- The window will be moved in front of all other (non-TopMost)-windows.

- The window will receive the input focus. (like the "J"-Flag)

 

This default window-treatment can be completely deactivated using the "A"-Flag.

 

This makes sense, for example when working with Menu's or volatile windows, which disappear when the default treatment is being applied.

 

Usage:

 

ITW.cA|#32768

MMV.

EIF.

 

Please note that the Flags are internally analyzed in the order in which they are given. If you add other flags after the "A" there may be a treatment.

If you place the "A" last inside the prototypes, all such treatment will be disabled.

 

In this case the "A" Flag has priority over the "C" Flag, because its right of it.

 

ITW.tCA|explorer

MMV.

EIF.

 

In this case the "C" Flag is right of the "A" Flag and therefore has priority over the "A" Flag.

 

STW.tAC|explorer

MMV.

 

 

 

Example

 

'#EXE:?pfad\

'#SPI:ForceWrite

'

' Click on the OK Button in a messagebox

' Locate the Application (Top-)Window

' If its available

ITW.cA|#32767

MMV.

EIF.

ENR.

 

 

 

 

Remarks

 

Alternatively the default window treatment can be influenced using other flags, like "B" or "G".

 

If the window should be brought into work area, without other treatment, use the "B"-Flag. "G",  will just prevent the repositioning of the window and let the other treatment-steps happen.

 

 

 

 

Limitations:

 

 

 

 

See also: