I want to automate some Windows GUI interactions.
There appear to be quite a number of tools that claim that they can "do this".
I suspect that the solution to my problem will be some existing tool that has the capability of accepting Perl code for decision making.

I currently only have a single monitor.
I launch a program, let's just call this program X. "X" is designed to stay in the background of the GUI.
Then I launch program "Y". "Y" has a many windows.
I move the individual windows of application "Y" around so that I see the most important parts of application "X".
Application X essentially functions as the "wallpaper".
Unfortunately, program "X" has a timeout "nag window" that I have to click on every 15-20 minutes or so.
That "nag window" will be displayed on top of the program X application, but below the windows for application Y which means that it might not even be possible to see on the monitor.

I have considered and I am implementing the most obvious solution:
Buy a second monitor and run "X" and 'Y" on 2 different monitors.
Unfortunately that will not solve my complete problem. Program "X" is a bit funky and actually I just want to keep it running, and not mess with it at all. The interactions can be more complex than I described above.

To further complicate matters, it is highly desirable to only use Perl libraries available on ActiveState's latest release.


In reply to Automating a Win10 GUI by Marshall

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.