|
Usage for your Easy2Install app:
WinAction Easy2Install HIDE
0:00.02 [ 0] Dev:ecx/my/WinAction> WinAction ?
NAME/A,ACTION/A,X=LEFT/N,Y=TOP/N,W=WIDTH/N,H=HEIGHT/N: ?
Perform an action to a window
NAME/A: Name of the window, case sensitive
ACTION/A: One of the actions below, not case sensitive
X=LEFT, Y=TOP, W=WIDTH, H=HEIGHT: Only for the actions BOX, MOVE and SIZE
Possible window actions are:
ACTIVATE - activate it
BACK - put it to the back
FRONT - put it to the front
FBACK - put all windows of the same "family" to back
FFRONT - put all windows of the same "family" to front
MIN - minimize it
MAX - maximize it
RESTORE - restore size and pos
OPENMENU - open window's menu
HIDE - hide the window
SHOW - show the window
ZIP - zip the window
CLOSE - send an IDCMP_CLOSEWINDOW
Special actions with parameters
BOX - change the window's position and size
Example: WinAction TestWin BOX x=100 y=234 w=555 h=333
MOVE - move the window's left and top position
Example: WinAction TestWin MOVE x=100 y=-200
SIZE - resize the window, the values will be ADDED/SUBTRACTED!
Example: WinAction TestWin SIZE 222 -111
0:00.02 [ 0] Dev:ecx/my/WinAction> WinAction ?
NAME/A,ACTION/A,X=LEFT/N,Y=TOP/N,W=WIDTH/N,H=HEIGHT/N: ?
Perform an action to a window
NAME/A: Name of the window, case sensitive
ACTION/A: One of the actions below, not case sensitive
X=LEFT, Y=TOP, W=WIDTH, H=HEIGHT: Only for the actions BOX, MOVE and SIZE
Possible window actions are:
ACTIVATE - activate it
BACK - put it to the back
FRONT - put it to the front
FBACK - put all windows of the same "family" to back
FFRONT - put all windows of the same "family" to front
MIN - minimize it
MAX - maximize it
RESTORE - restore size and pos
OPENMENU - open window's menu
HIDE - hide the window
SHOW - show the window
ZIP - zip the window
CLOSE - send an IDCMP_CLOSEWINDOW
Special actions with parameters
BOX - change the window's position and size
Example: WinAction TestWin BOX x=100 y=234 w=555 h=333
MOVE - move the window's left and top position
Example: WinAction TestWin MOVE x=100 y=-200
SIZE - resize the window, the values will be ADDED/SUBTRACTED!
Example: WinAction TestWin SIZE 222 -111
:00.02 [ 0] Dev:ecx/my/WinAction> WinAction ?
NAME,ACTION,LIST/S,X=LEFT/N,Y=TOP/N,W=WIDTH/N,H=HEIGHT/N,QF=QUERYFORMAT/K: ?
Perform an action to a window
NAME : Name of the window, case sensitive
ACTION: One of the actions below, not case sensitive, can be abbreviated
LIST : List all available windows
For the actions BOX, MOVE and SIZE:
X=LEFT, Y=TOP, W=WIDTH, H=HEIGHT
For QUERY action: QF=QUERYFORMAT/F
%a: address %A: hasAlpha %h: height
%H: hidden? %m: is MUI? %o: opacity
%t: title %T: screen title %w: width
%x: leftEdge %y: topEdge %z: zoom state
default is: "%t (%T) %x/%y, %wx%h, %H, HasAlpha: %A, %m, Opacity=%o, Zoomed=%z"
Possible window actions are:
ACTIVATE - activate it
BACK - put it to the back
FRONT - put it to the front
FBACK - put all windows of the same "family" to back
FFRONT - put all windows of the same "family" to front
MIN - minimize it
MAX - maximize it
RESTORE - restore size and pos
OPENMENU - open window's menu
HIDE - hide the window
SHOW - show the window
ZIP - zip the window
CLOSE - (try to) close the window (sends a IDCMP_CLOSEWINDOW)
QUERY - query values of a window, see QF=QUERYFORMAT option
Special actions with parameters
BOX - change the window's position and size (X, Y, W, H)
Example: WinAction TestWin BOX x=100 y=234 w=555 h=333
MOVE - move the window's left and top position (X, Y)
Example: WinAction TestWin MOVE x=100 y=-200
SIZE - resize the window, the values will be ADDED/SUBTRACTED! (W, H)
Example: WinAction TestWin SIZE 222 -111
f.e. WinAction EASY2INSTALL.1 I
09-Aug-2024: v1.4
Chg: ICONIFY: if the MUI app of a window can't be found, use the NAME
argument as the basename of a MUI app to find its app object
Finally Easy2Install can be iconified;)
This also can be used to Uniconify a MUI app!
NEW: LIST now also shows a list of MUI apps, the second entry is the basename
|