Sign in to follow this  
Followers 0
epicfail

IE.au3 scroll down page help

15 posts in this topic

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?

Share this post


Link to post
Share on other sites



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]

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

and u cant always use (send down arrow) when u r in a input box or what eva

Share this post


Link to post
Share on other sites

and u cant always use (send down arrow) when u r in a input box or what eva

Ohhhh 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]

Share this post


Link to post
Share on other sites

Something like this:

#include <IE.au3>

$oIE = _IECreate("http://freshmeat.net/")

$oIE.document.parentwindow.scroll(0, $oIE.document.body.scrollHeight/2)

Dale

1 person likes this

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

Share this post


Link to post
Share on other sites

wow thanks that seems to work. How do i change it so scroll more or less?

Share this post


Link to post
Share on other sites

and will that also work with FF.au3?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

the scroll down aint working with FF.au3 what do i have to do to get it to work?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

so u can go down the page more?lol

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

so u can go down the page more?lol

Ahhh - why don't you use your mouse or keyboard? :D Edited by Stilgar

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0