Bundy Posted February 11, 2008 Share Posted February 11, 2008 Hi! I have a little problem. Here's a source code of my problem. There are two forms - "dummy" and "share". I cannot get to those radios at "share" form via _IEFormElementRadioSelect. I think it's because those forms are nested. Is it even plausible? I appreciate any help. Link to comment Share on other sites More sharing options...
DaleHohm Posted February 11, 2008 Share Posted February 11, 2008 @Bundy - "cannot get to" is a very poor prolem description. It was good that you posted the HTML source, but you need to describe better what you are trying to do, show appropriate .au3 code and any error messages or diagnostics displayed in SciTe. That said, I see two things taht can cause you trouble here... 1) there are actually 2 forms with a name of "share" and you'll need to use the index parameter in _IEFormGetObjByName to get the second one 2) there is an iFrame on the page where much of the content resides... see _IEFrameGetObjByName Dale 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 Link to comment Share on other sites More sharing options...
Bundy Posted February 12, 2008 Author Share Posted February 12, 2008 When I tried to use _IEFrameGetObjByName "share" gave answer cannot match name or something. My point is to create macro that will check radios (data from text file). I tried pointing by index. What I need is possibility to select radio via autoit function. Link to comment Share on other sites More sharing options...
DaleHohm Posted February 12, 2008 Share Posted February 12, 2008 "share" is not the name of the frame. Just like your original post, "gave answer cannot match name or something" is another lousy problem description. If it is not worth it to you to describe the scenario precisely, it is not worth it to me to spend time trying to help you. Dale 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 Link to comment Share on other sites More sharing options...
Bundy Posted February 15, 2008 Author Share Posted February 15, 2008 So, can You tell me step by step how can I change radio status when i have frame and in it form nested in another? A week ago when I was trying to make that macro indexCollection didn't show me any radios on this page. Link to comment Share on other sites More sharing options...
DaleHohm Posted February 15, 2008 Share Posted February 15, 2008 So, can You tell me step by step how can I change...No. You're not listening.Go back and reread the previous replies, tell us precisely what you are trying to do, post your code and the messages from the SciTe Console. Otherwise, good luck getting someone else to do your job for you.Dale 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now