m@rt!n Posted October 24, 2006 Share Posted October 24, 2006 Hello all I want to set the the pulldown menus on the following url "http://verkopen.marktplaats.nl/select_category.php" I dont' want to use mousemove and the pull down menus are located in a frame named "body I have studied the _ie librarie examples multiple times but can not find a good solution. Is there anybody who is experienced enough to help me out with this problem? Thanks Martin Link to comment Share on other sites More sharing options...
DaleHohm Posted October 24, 2006 Share Posted October 24, 2006 _IEFormElementOptionselect 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...
m@rt!n Posted October 24, 2006 Author Share Posted October 24, 2006 thanks for the repley: I have created this little scripts with the help of the helpfile but it seems not working very well #include <IE.au3> $oIE = _IECreate ("http://verkopen.marktplaats.nl/select_category.php") $oForm = _IEFormGetObjByName ($oIE, "postform") $oSelect = _IEFormElementGetObjByName ($oForm, "l1") _IEFormElementOptionselect ($oSelect, "565", 1, "byValue") What is wrong? (probely my skills) Link to comment Share on other sites More sharing options...
DaleHohm Posted October 24, 2006 Share Posted October 24, 2006 thanks for the repley: I have created this little scripts with the help of the helpfile but it seems not working very well #include <IE.au3> $oIE = _IECreate ("http://verkopen.marktplaats.nl/select_category.php") $oForm = _IEFormGetObjByName ($oIE, "postform") $oSelect = _IEFormElementGetObjByName ($oForm, "l1") _IEFormElementOptionselect ($oSelect, "565", 1, "byValue") What is wrong? (probely my skills) This site will give you a couple of problems before you ever get to the OPTION drop-downs. First, the site uses Frames (use View Source to see). So the following mod to your code would be required once you see that the frame you want is named "body": #include <IE.au3> $oIE = _IECreate ("http://verkopen.marktplaats.nl/select_category.php") $oFrame = _IEFrameGetObjByName($oIE, "body") $oForm = _IEFormGetObjByName ($oFrame, "postform") $oSelect = _IEFormElementGetObjByName ($oForm, "l1") _IEFormElementOptionselect ($oSelect, "565", 1, "byValue")oÝ÷ ÙIߢ»n«^+ayDKºÇz®¢Öèw*®¢×hzÉè¶frazÚ)ëÞÚºg§µ©Ýzw(º{^®Æ¬yË«Ü«zËkËb¢{ajÚkz÷§¶Ê®¢×+¢Ë,׬r¸©¶)àªê-b·öYgyçm¢^Ø^Qè~Ø^²øuúÚè§jÇ©z¶{§v"Ýz»hëm¢+pØlr¸©µ«¢+ØÀÌØí½%ô}% ÉÑ ÅÕ½Ðí¡ÑÑÀè¼½ÙɽÁ¸¹µÉÑÁ±Ñ̹¹°½Í±Ñ}ѽÉä¹Á¡ÀÅÕ½Ðì¤ Then you can start working with the form... 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