Were I attempting this, my starting point would be to install ProcessExplorer. This is a TaskManager replacement that has a built-in facility for monitoring what files are being accessed by running processes. By enabling "Show lower pane" and selecting "Lower pane->view handles" (both from the View menu), you can click on the running appication and see what files it is accessing. Realise that it might not put the programs into separate files. It might store them in a single file, or in the registry somewhere.

It won't be easy to reverse engineer, but if you can locate where the programs are stored and then: start with something simple, take a copy; add one thing, take another copy; and one more thing and take another copy. it should be reasonably easy to build up a picture of the way the programs are stored, and build up a library of routines for generating the required code for each type of action.

The problem with driving GUIs is that the windows and dialogs involved have a tendancy to move around the screen each time they are displayed. And that makes automating complex interactions, laborious and fragile. If you do have to go this route, then you might consider trying something like AutoIt which is designed for exactly this type of task.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"

In reply to Re^3: Controlling a non-perl GUI by BrowserUk
in thread Controlling a non-perl GUI by dbae

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.