Jump to content

_IE question


d0n
 Share

Recommended Posts

It could be several things. Link to the page?

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

The best way around that is probably to use InetGet(). Read the page to get the file location and then InetGet() to download it. If you are using the Beta, you can use InetRead() with BinaryToStr() to get the page source

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

i need to navigate to the site to get the source to get the link for Inetget() to work since the link changes all the time

also because that link is only available after you click it, i am not sure how Inetget() would do the job?

Link to comment
Share on other sites

If you are using the beta version then yoou can get the source with InetRead(). If not then you can get the source with _InetGetSource(). #Include<inet.au3>

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

InetGet doesn't need a link to be visible. As long as the link exists, it can download something.

I know that, but i have to click the download link on the first page in order to see the actual download link for Inetget()

Still the problem i am having is that the site will try to automatically download thus stopping my script, i was wondering if there is a way to bypass the automatic download with some _IE functions

Link to comment
Share on other sites

There is no way to use the _IE* functions to disable IEs security.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

IE.au3 is not even needed. You do not need to "navigate" at all.. SEE HELP

8)

BTW... Be sure to check the examples at the bottom of the help pages

i think i get what you mean, using Inetget() to get the source, thanks for helping

EDIT:now i have another question, what is the best way to deal with these temp files?

Edited by d0n
Link to comment
Share on other sites

You can just use InetGet to download the file itself.

$sStr = "ftp://dl2.foss-id.web.id/iso/ubuntu/releases/jaunty/ubuntu-9.04-desktop-i386.iso"
$sFile = StringRegExpReplace($sStr, ".+/(.+)$", "$1")
InetGet($sStr, @DeskTopDir & "\" & $sFile, 9)
Edited by GEOSoft

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...