Jump to content
Sign in to follow this  

IE browse problems

Recommended Posts


Hey, i have some problems with IE.I wanna do a simple rapidshare uploader.So it's go 2 the rapidshare page then click browse.And in this point i need some help.How can i write path in this browse window?

Thank you for your replays.

#include <IE.au3>

$oIE = _IECreate("http://www.rapidshare.com")

$oSubmit = _IEGetObjByName ($oIE, "dateiname")

_IEAction ($oSubmit, "click")

_IELoadWait ($oIE)

Share this post

Link to post
Share on other sites

or if i whant to do a downloader from rapidshare.How can i click on Free User button?

Share this post

Link to post
Share on other sites

I don't use rapidshare. You'll need to ask your question in a way that does not require knowledge of it.


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

$oIE = _IECreate("http://www.rapidshare.com",1, 1, 1, 0)
$oDoc = _IEDocGetObj($oIE)
$oArray = $oDoc.getElementsByTagName("input")

for $element in $oArray
if $element.id="dateiname" then
WinSetState("RapidShare: Easy Filehosting - Microsoft Internet Explorer", "", @SW_MAXIMIZE)
_IELoadWait ($oIE)
$iScreenX = _IEPropertyGet($element, "screenx")
$iScreenY = _IEPropertyGet($element, "screeny")
$iBrowserX = _IEPropertyGet($element, "browserx")
$iBrowserY = _IEPropertyGet($element, "browserY")
$iWidth = _IEPropertyGet($element, "width")
$iHeight = _IEPropertyGet($element, "height")
MouseMove($iScreenX + $iWidth-2, $iScreenY + $iHeight/2)


This is working for me. Unfortunately i cant do it better as the input type = file is making some restrictions from security point of view. Maybe Dale would have some workaround or better solution.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.