epicfail Posted September 23, 2009 Share Posted September 23, 2009 how do i make it so once the webpage is launched it will scroll down the page to the middle (halfway down page)? can it be done with IE.au3? Link to comment Share on other sites More sharing options...
Mecrazycoder Posted September 23, 2009 Share Posted September 23, 2009 how do i make it so once the webpage is launched it will scroll down the page to the middle (halfway down page)?can it be done with IE.au3?Why don't you send down arrow [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
epicfail Posted September 23, 2009 Author Share Posted September 23, 2009 cos i thought that there might be abetter way to do it so it goes to halfway down the page or something so it dont matter how long the pages r. Link to comment Share on other sites More sharing options...
epicfail Posted September 23, 2009 Author Share Posted September 23, 2009 and u cant always use (send down arrow) when u r in a input box or what eva Link to comment Share on other sites More sharing options...
Mecrazycoder Posted September 23, 2009 Share Posted September 23, 2009 and u cant always use (send down arrow) when u r in a input box or what evaOhhhh Ok tanx..Let me check is there any way around and get back to you [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
DaleHohm Posted September 23, 2009 Share Posted September 23, 2009 Something like this: #include <IE.au3> $oIE = _IECreate("http://freshmeat.net/") $oIE.document.parentwindow.scroll(0, $oIE.document.body.scrollHeight/2) Dale matwachich 1 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...
epicfail Posted September 23, 2009 Author Share Posted September 23, 2009 wow thanks that seems to work. How do i change it so scroll more or less? Link to comment Share on other sites More sharing options...
epicfail Posted September 23, 2009 Author Share Posted September 23, 2009 and will that also work with FF.au3? Link to comment Share on other sites More sharing options...
DaleHohm Posted September 23, 2009 Share Posted September 23, 2009 The parameters to .scroll are horizontal and vertical pixels. Adjust them. 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...
epicfail Posted September 23, 2009 Author Share Posted September 23, 2009 the scroll down aint working with FF.au3 what do i have to do to get it to work? Link to comment Share on other sites More sharing options...
Stilgar Posted September 24, 2009 Share Posted September 24, 2009 the scroll down aint working with FF.au3 what do i have to do to get it to work?You can scroll there with:_FFAction("ScrollXY", $iX, $iY)but why would you scroll a webpage? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
epicfail Posted September 24, 2009 Author Share Posted September 24, 2009 so u can go down the page more?lol Link to comment Share on other sites More sharing options...
Stilgar Posted September 24, 2009 Share Posted September 24, 2009 (edited) so u can go down the page more?lolAhhh - why don't you use your mouse or keyboard? Edited September 24, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
epicfail Posted September 24, 2009 Author Share Posted September 24, 2009 cos im to lazy haha nah cos i wont be at the computer i needed it to scroll down a lil bit so i could click on a thing unless u know how to make it to fullscreen like F11 is there away to do it with out sending F11? Link to comment Share on other sites More sharing options...
jvanegmond Posted September 24, 2009 Share Posted September 24, 2009 cos im to lazy haha nah cos i wont be at the computer i needed it to scroll down a lil bit so i could click on a thing unless u know how to make it to fullscreen like F11 is there away to do it with out sending F11?See your other thread. github.com/jvanegmond 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