|(anonymous IP: 18.104.22.168)|
Total files: 811
Full index file. Download
Recent index file. Download
[Show content] [Replace file]
ActivateWin gives to Shell some Intuition's handling on windows and screens. TITLE Title(s) of the window(s)/screen(s) on which to operate (activate window is the default). Wildcards allowed LIST List screens and windows titles while scanning QUIET Don't complain when (TITLE) is not found, and don't output window/screen's title when it's found CURRENT Act on currently active window/screen DONOTBUT Do not activate found window/screen but do other things HIDE Make found window(s) invisible (no other operation will be done on them!) When omitted, invisible window(s) is(are) made visible MX = MOVEX Move found window(s)/screen(s) horizontally (pixels) MY = MOVEY Move found window(s)/screen(s) vertically (pixels) SX = SIZEWINX Resize found window(s) horizontally (add/sub pixels) SY = SIZEWINY Resize found window(s) vertically (add/sub pixels) ALT = ALTCOORDS Let MX and MY mean coordinates relative to origin, and SX and SY mean real size of window (TITLE) TOFRONT Bring found window(s)/screen(s) to front TOBACK Bring found window(s)/screen(s) to back CLOSE Try to close found window(s) SCREEN Act on screen (TITLE): CURRENT, MX, MY, TOFRONT and TOBACK arguments are recognized when using this switch Those arguments are shown from the Shell by typing: "ActivateWin ?" followed by a new "?". EXAMPLES ActivateWin HIDE #?Shell will hide all the Shell windows currently opened (just open a new Shell and type: "ActivateWin #?" to bring them back visible). ActivateWin CLOSE CURRENT will try to close the currently active window, ie probably the Shell window in which you type the command ;-) ActivateWin "AROS-Shell" MX=-15 ALT will activate and put the front-most Shell window 15 pixels at the left of the left-side of the screen ActivateWin SCREEN DOPUS#? MY=150 will drag down 150 pixels of their current position all screens of all instances of Directory Opus. The currently active window won't be changed. HISTORY (INT means the release was not made public) 21.04.2011 41.9 Implemented wildcards handling in TITLEs INT 19.04.2011 41.8 Implemented CURRENT and CLOSE arguments, multiple TITLEs allowed 07.04.2011 41.7 More arguments 01.04.2011 41.6 More arguments, less bugs... 31.03.2011 41.5 Better and simpler way to find the topmost layer, thanks to Thomas Rapp's example code here: http://utilitybase.com/forum/index.php?action=vthread&forum=3&topic=2240#msg1851 2 INT 2010 41.4 Some more optional arguments 16.11.2010 41.3 Added locking for access to Intuition fields, to avoid crashes in race condition... (Many thanks Fab1!) 07.05.2010 41.2 Set DEBUG off, added LIST and QUIET switches 03.05.2010 41.1 Implemented NOTE I would be very pleased to get feedback on ActivateWin, so please don't hesitate to drop me a mail (olivier dot tigreat at gmail dot com), with your bug reports, feature requests, or simply to tell me you tried it.
|Copyright (c) 2005 The AROS Archives All Rights Reserved |
Contact us at: firstname.lastname@example.org