Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Win32::Guitest Module

by Albannach (Prior)
on Jul 30, 2004 at 15:58 UTC ( #378727=note: print w/replies, xml ) Need Help??

in reply to Win32::Guitest Module

It's all going to depend on how much of this automation you need to do, and on what platforms. For starters, it appears that Win32::ActAcc will only work on Win2k+ (but please correct me if I'm wrong). It does indeed look powerful (haven't used it myself yet) but do you need all that power? Win32::OLE should probably be your first choice if it is applicable to the app you're working with anyway.

To the specifics, I handle checkboxes with Win32::GuiTest simply by sending {TAB} and {SPACE}. I'm not sure what you mean by lists of words, but if something is clickable you can also probaby use the tab and space method (though some fringe apps I've needed to control were poorly written and not all widgets are in the tab list, or sometimes the tab list is in a nonsensical order). I also tend to use hotkey shortcuts where they are available rather than GUI navigation as it is often clearer to read the intention of your code, and they are more often maintained across versions whereas widget layoutw.

I'd like to be able to assign to an luser

Replies are listed 'Best First'.
Re^2: Win32::Guitest Module
by Edge118 (Initiate) on Jul 30, 2004 at 17:12 UTC
    Do you know how to make it do a left click in general and not on a button? So wherever my mouse pointer is positioned at that time, it will click, if you know what I mean.

      Nevermind, found it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://378727]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2018-08-14 13:45 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (150 votes). Check out past polls.