home *** CD-ROM | disk | FTP | other *** search
- Scripit Window Commands
- =======================
-
-
- W MOVE x,y
-
- Moves the selected window by x (Horz) and y (Vert). Full limit
- checking is implemented so that a window cannot be moved outside
- the screen it is on. If the specified x & y are not possible,
- the window will move in the direction requested as much as
- possible.
-
- W MOVETO x,y
-
- Moves the selected window to position x (LeftEdge) and y (TopEdge)
- with full limit checking. If the specified x,y are not possible,
- the window will be placed in as near a position to the requested
- position as possible.
-
- W RESIZE width,height
-
- Change the selected window's height and width by +/- the specified
- width and height. The requested parameters will be checked against
- the actual screen limits as well as the window limits set by the
- program owning that window. The window will be resized as much as
- possible. (A SIZEVERIFY and/or a NEWSIZE message will be sent
- if the appropriate flags were set in the window's flags.)
-
- W RESIZETO width,height
-
- Resize the selected window to a new width and height. The
- requested width/height will be checked against the actual
- screen limits as well as the window limits set by the program
- owning that window. The window will be resized as much as
- possible. (A SIZEVERIFY and/or a NEWSIZE message will be sent
- if the appropriate flags were set in the window's flags.)
-
- W MAXSIZE Expand the selected window to the maximum size possible.
- I.E. to either the screen limits or the window limits whichever
- is smaller.
-
- W MINSIZE Shrink the selected window to the minimum size possible.
-
- W FRONT Move the selected window to the front of all other windows.
- This simulates clicking on the window's 'to front' gadget.
-
- W BACK Move the selected window to the back of all other windows.
- This simulates clicking on the window's 'to back' gadget.
-
- W CLOSE Send a message to the program owning the selected window
- requesting that it closes the window. This actually simulates
- clicking on the window's 'close' gadget.
-
- W REFRESH Send a REFRESHWINDOW message to the selected window. This
- tells the program owning the window that it needs refreshing.
- It is up to that program to decide whether it wants to refresh it
- or not.
-
- W REFRESHFRAME
-
- Refresh the select window's frame.
-
- W ACTIVATE Activate the selected window. This simulates clicking anywhere
- in that window to make it receive all intuition input.
- (If the window requires an ACTIVEWINDOW message, one will be
- sent to it.)
-
- W DEACTIVATE
-
- Deactivate the selected window. (If the window requires an
- INACTIVEWINDOW message, one will be sent to it.)
-
- W LIMITS min_x min_y max_x max_y
-
- Change the preset limits for resizing a window to new limits.
- (This might be dangerous if the program owning the window depends
- on the window not being smaller or larger than a specific size.)
-
-
- Note: In all WINDOW commands, WINDOW can be replaced with a 'W'.
- ----- e.g. 'WINDOW LIMITS' is the same as 'W LIMITS'.
-
-
- Scripit Screen Commands
- =======================
-
-
-
- SC FRONT Move the selected screen to the front of all other screens.
- This simulates clicking on the screen's 'to front' gadget.
-
- SC BACK Move the selected screen to the back of all other screens.
- This simulates clicking on the screen's 'to back' gadget.
-
- SC FLASH <times> <delay>
-
- 'Flash' the selected screen once. The optional keyword <Times>
- controls how many times to flash the screen and the keyword
- <Delay> controls the delay between each flash (in 1/50 seconds.)
-
- SC MOVE x,y
-
- Moves the selected screen by x,y. This simulates dragging the
- screen. (The x drag does not work. It is included for possible
- enhancements to Intuition in the future that might allow
- horizontal movements of a screen.)
-
- SC MOVETO x,y
-
- Moves the selected screen to x,y. (read note in above command)
-
-
- Note: In all SCREEN commands, SCREEN can be replaced with 'SC'.
- ----- e.g. 'SCREEN FLASH' is the same as 'SC FLASH'.
-
-
- Copyright 1989 Khalid Aldoseri.
-