muhmuuh Posted November 9, 2008 Posted November 9, 2008 Hi! I haven't visited the forum for a long time Unfortunately I remembred to open it because I have a problem I try to get the links in a iFrame Here is what I see with Debugbar <IFRAME name=frame_name and here is what I try $fr = _IEFrameGetObjByName($ie, "frame_name")oÝ÷ Ù»!Ƨjw«®Ü¡×çÍ=Øú趦)^³Ovëh"Ýô÷b'r[{Ov F®ß;ïÞ5ç but then I get this error C:\Program Files\AutoIt3\Include\IE.au3 (3242) : ==> The requested action with this object has failed.: $oTemp = $o_object.document.body $oTemp = $o_object.document^ ERROR What am I doing wrong? Any help will be appreciated I ran. I ran until my muscles burned and my veins pumped battery acid. Then I ran some more.
DaleHohm Posted November 10, 2008 Posted November 10, 2008 Please add _IEErrorHandlerRegister() to your code... I expect you will get a COM error access is denied. If so, you need to get the URL of the iFrame content and open it separately (with _IECreate). Browsers have cross-domain scripting security limitations. 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
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