💾 Archived View for cugi.ie › aminet › 1722904285.gmi captured on 2024-08-25 at 01:00:04. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

Perform an action to a window

   Author:       Thomas at Igracki.de
   Uploader:     Thomas Igracki de
   Type:         util/shell
   Version:      1.0
   Architecture: ppc-morphos
   Distribution: Aminet
   Kurz:         Führe eine Aktion an einem Fenster aus
   Date:         2024-08-05
   Readme:       http://aminet.net/util/shell/WinAction.readme
   Downloads:    3

http://aminet.net/util/shell/WinAction.lha

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

Contents of util/shell/WinAction.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  693    1370  50.6% -lh5- d729 Aug  5 18:52 WinAction.readme
[generic]                 3778    7932  47.6% -lh5- 9529 Aug  5 18:51 WinAction
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files    4471    9302  48.1%            Aug  6 00:31

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>