AlmarM Posted January 13, 2009 Share Posted January 13, 2009 (edited) Hi,How do I select the first value in a ComboBox with _IEFormElementSetValue?I mean, watch this screenhot.How do I select number 2 without clicking. Is it possible with _IEFormElementSetValue?Hope you understand.AlmarMSOLVED!Watch my 2nd post for the next question! Edited January 13, 2009 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 13, 2009 Share Posted January 13, 2009 Hi,How do I select the first value in a ComboBox with _IEFormElementSetValue?I mean, watch this screenhot.How do I select number 2 without clicking. Is it possible with _IEFormElementSetValue?Hope you understand.AlmarM_IEFormElementOptionselect() with $s_mode = "byIndex" Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
AlmarM Posted January 13, 2009 Author Share Posted January 13, 2009 (edited) Thx Another question, on the same site there is an EditBox with some text, watch screenshot.I begin with this:And I need this: (Dont watch the size of the editbox it automaticly becomes bigger)All I need too know is how to scroll down?AlmarMEDIT: Typo Edited January 13, 2009 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
AlmarM Posted January 13, 2009 Author Share Posted January 13, 2009 Does anyone know how to scroll down in a <textarea> with no name or ID? P.S. Im trying to automate gMail accout creation. AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
furrycow Posted January 13, 2009 Share Posted January 13, 2009 (edited) I have no idea if this'll work, but could you do a stringinstr for "[DATUM 2006]" or similar, so that it scrolls down to the bottom when it finds it? EDIT: Typo Edited January 13, 2009 by furrycow Instant Lockerz Invite - www.instantlockerzinvite.co.uk Link to comment Share on other sites More sharing options...
Bert Posted January 13, 2009 Share Posted January 13, 2009 You could simply see if the window would respond to a send("{down}") command once you clicked on the item in question. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
AlmarM Posted January 14, 2009 Author Share Posted January 14, 2009 (edited) You could simply see if the window would respond to a send("{down}") command once you clicked on the item in question.Well, I want to automate gMail Register, but I cant use any visible commands like MouseClick, because... The window is hidden. (_IECreate("blabla", "", 0))AlmarM Edited January 14, 2009 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
azure Posted January 14, 2009 Share Posted January 14, 2009 Well, I want to automate gMail Register, but I cant use any visible commands like MouseClick, because... The window is hidden. (_IECreate("blabla", "", 0))AlmarMYou can still do a ControlSend for a hidden window, I think? Link to comment Share on other sites More sharing options...
DaleHohm Posted January 15, 2009 Share Posted January 15, 2009 (edited) looking for something like this? #include <IE.au3> $oIE = _IECreate("www.autoitscript.com") $oIE.document.parentwindow.scroll(0,150) Edited January 15, 2009 by DaleHohm 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...
AlmarM Posted January 15, 2009 Author Share Posted January 15, 2009 (edited) Well ye, only in a <textarea> without any name or ID Oh and how does '_IEFormElementCheckboxSelect' and '_IEFormElementRadioSelect' work? Checkbox name 'terms_agreed' Radio name 'm' AlmarM Edited January 15, 2009 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. 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