Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Win32::Guitest Module

by Albannach (Monsignor)
on Jul 30, 2004 at 11:58 UTC ( [id://378727]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 13: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.