<< Click to Display Table of Contents >> Navigation: 3. Script Language > Window Operations > STW. - Search Top Window > Window Operations * STW. |
MiniRobotLanguage (MRL)
"F" - Flag "Center on Desktop"
Move Window to center of primary desktop
Intention
If the "F"-Flag is given, the window will be move to the center of the primary desktop. The "F"-Flag will override the default windows treatment, which would move the window to 0,0 if its outside of the desktop.
The "F"-Flag will always move the window to the center, no matter where the window was before.
STW.Fc|WindowClass
MMV.
Example
'
'#EXE:?pfad\
'#SPI:ForceWrite
'
' Locate the Application (Top-)Window
STW.cF|Myclass
' Move Mouse to Center of window
' in center of desktop
MMV.
ENR.
Remarks
Limitations:
See also: