Sign in to follow this  
Followers 0
Guest DgtHorse

Extracting controls from frame

4 posts in this topic

I have an activex control in IE and the control i want to get info from is in a frame class name ThunderRT6Frame1. The control i want info from is a label control or textbox that is disabled. I cannot select it in the autoit info window but only the full frame.

Anyway to get the text i need out of this label?

Share this post


Link to post
Share on other sites



I'd like to 'me too' this. I have an application with a load of ThunderRT6 frames (which I've looked up and appear to be related to VB6 controls). I want to get text from controls inside the frames. I realise that ControlGetText won't work. I'm thinking that this won't work either (since the control isn't a combobox). Can I do something similar though? Is there a way of finding out what commands a custom control will accept?

cheers

ben

Share this post


Link to post
Share on other sites

I've had no need to look into this as I do my best to avoid ActiveX, but I believe you'll find that you should be able to interface with these controls by instantiating a COM Object connection to them with ObjGet().

I can't offer much more help other than suggesting that you look at the OLE/COM Object Viewer to help you dig in -- this is documented in the beta helpfile in Function Reference -> Obj/COM Reference.

Dale

I'd like to 'me too' this. I have an application with a load of ThunderRT6 frames (which I've looked up and appear to be related to VB6 controls). I want to get text from controls inside the frames. I realise that ControlGetText won't work. I'm thinking that this won't work either (since the control isn't a combobox). Can I do something similar though? Is there a way of finding out what commands a custom control will accept?

cheers

ben


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

Thanks. I really don't know where to start with OleViewer though - any idea where I'd find a custom control reference in there?

cheers

ben

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