792Re: [perlguitest] Can we focus to a control without caption???
I tried SPY++ and was able to get window handles and some class information.
From that I used the spy.pl application that comes as part of Win32-GuiTest-1.50.3-ad in the \eg folder. This enabled me to get the children and their depth from the Desktop.
I tediously experimented until I found that control I needed to send keys to (
So the refined process now is:
Determine which controls were the children of the parent window, I then used
FindWindowLike(based from the parent)
then searched the children and find the control at the right depth with the right class,
set the focus to that control, and finally Sendkeys to it.
Perhaps something like this will help you along.
I still have a challenge with my application - namely,
I need to perform a mouse click on a Tab that is above the controls on my window. By clicking on the Tab, the search is cleared/reset. I have a clumsy workaround but wonder if there is a better eway.
the control's description is:
Is there a natural way in win32-guitest-1.50.3-ad to find this control and send a left mouse click?
Sriram Parthasarathy <sriramparthasarathy2000@...> wrote:
I have an "Windows application" where there are 4
editboxes without captions. To turn the focus to any
one of the edit boxes, I am not able to get the
control ids or captions using Spy++( Visual Studio
Could anyone pls. tell me as to how I could turn the
focus to edit boxes without controlid's, caption's or
mousemove functionality, so I could use SendKeys( ) to
give my input.
Pls. help me overcome from this difficult situation.
Thanks in advance for your help,
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
Yahoo! Groups SponsorADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:
To unsubscribe from this group, send an email to:
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
[Non-text portions of this message have been removed]
- << Previous post in topic Next post in topic >>