epicfail Posted September 23, 2009 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?
Mecrazycoder Posted September 23, 2009 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]
epicfail Posted September 23, 2009 Author 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.
epicfail Posted September 23, 2009 Author Posted September 23, 2009 and u cant always use (send down arrow) when u r in a input box or what eva
Mecrazycoder Posted September 23, 2009 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]
DaleHohm Posted September 23, 2009 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
epicfail Posted September 23, 2009 Author Posted September 23, 2009 wow thanks that seems to work. How do i change it so scroll more or less?
epicfail Posted September 23, 2009 Author Posted September 23, 2009 and will that also work with FF.au3?
DaleHohm Posted September 23, 2009 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
epicfail Posted September 23, 2009 Author Posted September 23, 2009 the scroll down aint working with FF.au3 what do i have to do to get it to work?
Stilgar Posted September 24, 2009 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
epicfail Posted September 24, 2009 Author Posted September 24, 2009 so u can go down the page more?lol
Stilgar Posted September 24, 2009 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
epicfail Posted September 24, 2009 Author 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?
jvanegmond Posted September 24, 2009 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
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