The AROS Archives(anonymous IP: 50.17.109.248) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Categories

   o Audio (32)
   o Datatype (2)
   o Demo (12)
   o Development (182)
   o Document (17)
   o Driver (16)
   o Emulation (53)
   o Game (202)
   o Graphics (103)
   o Library (4)
   o Network (30)
   o Office (5)
   o Utility (136)
      o Archive (12)
      o Benchmark (4)
      o Communication (0)
      o Docky (1)
      o Filetool (13)
      o Hardware (5)
      o Misc (21)
      o Print (3)
      o Scientific (15)
      o Shell (21)
      o Text (26)
      o Workbench (14)
   o Video (17)

Total files: 811

Full index file. Download
Recent index file. Download




Hosted by
aros-exec.org
 Readme for:  Utility » Shell » activatewin.i386-aros.tar.gz

Description: Gives Shell some Intuition's handling on windows
Download: activatewin.i386-aros.tar.gz       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 12kb
Version: 41.9
Date: 21 Apr 11
Author: Olivier TigrĂ©at
Submitter: Olivier TigrĂ©at
Email: olivier tigreat/gmail com
Requirements: i386-AROS
Category: utility/shell
Replaces: utility/shell/activatewin.i386-aros.tar.gz
License: APL
Distribute: yes
FileID: 944
 
Comments: 0  [View]
Snapshots: 0  [View]
Downloads: 40  (Current version)
60  (Accumulated)

[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: archives@aros-exec.org