Hi all,
i use Windows-XP and since a while i try to find commands or modules where i can manipulate every window on the desktop. I know how i can manipulate (move, bring to top, change size and so on) windwos that i have create with Tk or Win32-Modules but i want to manipulate also all other windows from other applications on my desktop. It would be very great if anybody has an idea or can post an helpfull part of a code. With manipulate i mean the following important items:

1) Find out which windows (name or window-id) are at the moment opend. That means all windows which are visible on the desktop, or minimize in the taskbar.
2) Bring a certain window to the top (in fron of all other opend windows).
3) Change the window from minimize to maximize
4) Change the size of a certain window
5) Change the position on the desktop of a certain window
6) Close a certain window
7) Give the focus on a certain Window
I hope i could passably declare what i mean and i try to find a solution under perl.

Best regards to all, michbach

In reply to Manipulate Desktop-Windows with Perl by michbach

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.