Page 1 of 1 1
Topic Options
#97495 - 2003-01-06 03:43 PM Hook or child objects
Microcyb Offline
Getting the hang of it

Registered: 2002-12-30
Posts: 95
Loc: Hell
O.K. hopefully this will make sense.

I have learned how to call and locate a window with the setfocus, but what if I needed to locate an area in the window application.

For exmaple,
An application had the following objects:
description edit box
user edit box
password edit box
location edit box

and a connect button

How would I do a focus to those areas before sending data to it?

I do not want to do a {Tab}data{Tab}data{Tab}{Enter}
_________________________
www.microcyb.com

Top
#97496 - 2003-01-06 04:04 PM Re: Hook or child objects
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Your best bet is to take advantage of keyboard shortcuts (e.g. Alt+P, or CTRL+C). Then you can just send the appropriate shortcut using Sendkeys().
Top
#97497 - 2003-01-06 04:19 PM Re: Hook or child objects
Microcyb Offline
Getting the hang of it

Registered: 2002-12-30
Posts: 95
Loc: Hell
Booooooo.
I hate doing that. Is that the only option I have???
_________________________
www.microcyb.com

Top
#97498 - 2003-01-06 04:43 PM Re: Hook or child objects
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Unless AutoIT (http://www.hiddensoft.com/AutoIt/) can access them differently. The alternative would be to create a fake GUI with KiXForms and perform the actual operation via command line if possible.
_________________________
There are two types of vessels, submarines and targets.

Top
#97499 - 2003-01-06 08:17 PM Re: Hook or child objects
Microcyb Offline
Getting the hang of it

Registered: 2002-12-30
Posts: 95
Loc: Hell
I will check that out thanks!

I just thought Kixtart could do it, since the excel sample seemed to do that.
_________________________
www.microcyb.com

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.11 seconds in which 0.084 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org