Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Win32::Guitest Module

by Albannach (Monsignor)
on Jul 30, 2004 at 15:58 UTC ( [id://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.

    Thanks.
      Nevermind, found it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 14:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found