Sign in to follow this  
Followers 0
Cage

get control handle without controlID

4 posts in this topic

Hey,

struggling to get the handle of a control.

I am trying to fill the login-form of an application that loads an IE frame inside a standard window. In “Autoit Window Info” the IE frame is listed under “control”. As far as I can comprehend… I would need the control handle to create the IE object.

I already got the handle of the surrounding window… but I am unable to receive the control handle because there is no controlID listed.

ControlGetHandle ( "title", "text", controlID )

Does somebody know how I can solve this problem?

Thank you! :thumbsup:

Share this post


Link to post
Share on other sites



there is no such control the IE form is just a single control

check the IE API in the helpfile if that could help you

and simultaneously please check the FORUM RULES

bypassing security measures like log in is not allowed


My code:

PredictText: Predict Text of an Edit Control Like Scite. Remote Gmail: Execute your Scripts through Gmail. StringRegExp:Share and learn RegExp.

Run As System: A command line wrapper around PSEXEC.exe to execute your apps scripts as System (LSA). Database: An easier approach for _SQ_LITE beginners.

MathsEx: A UDF for Fractions and LCM, GCF/HCF. FloatingText: An UDF for make your text floating. Clipboard Extendor: A clipboard monitoring tool. 

Custom ScrollBar: Scroll Bar made with GDI+, user can use bitmaps instead. RestrictEdit_SRE: Restrict text in an Edit Control through a Regular Expression.

Share this post


Link to post
Share on other sites

Thx I’ll give that a try.

and simultaneously please check the FORUM RULES

bypassing security measures like log in is not allowed

I am well aware of this. My intention is to automatically restart/login to the application after a crash occurred.

Share this post


Link to post
Share on other sites

Seems i found the solution:

_IEAttach($HWND,"Embedded")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0