Drath Posted January 28, 2006 Share Posted January 28, 2006 Luckily this program uses a browser module for displaying images I want to get information from. Is it possible to get the image address using AutoIt? I couldn't see any commands on quick glance. Link to comment Share on other sites More sharing options...
greenmachine Posted January 29, 2006 Share Posted January 29, 2006 Could this have anything to do with what you're asking? It's a little hard to tell....http://www.autoitscript.com/forum/index.php?showtopic=20844Inside that thread - http://www.autoitscript.com/forum/index.ph...6&hl=image++UDF Link to comment Share on other sites More sharing options...
Drath Posted January 29, 2006 Author Share Posted January 29, 2006 Basically I want to get the image url adress from an image in a browser. I don't think the UDF: ImageGetInfo has this ability. Link to comment Share on other sites More sharing options...
greenmachine Posted January 29, 2006 Share Posted January 29, 2006 (edited) Oh, ok. In that case, you'll probably want to look at IE.au3 by DaleHolm.http://www.autoitscript.com/forum/index.php?showtopic=13398 Edited January 29, 2006 by greenmachine Link to comment Share on other sites More sharing options...
greenmachine Posted January 29, 2006 Share Posted January 29, 2006 Here's something I believe Dale wrote (and I edited a little) to get images off a website. It contains the info you need. #include <IE.au3> $sImgDir = FileSelectFolder ("Folder to download to", @DesktopDir, 7, "C:\Program Files"); Please make certain this folder already exists (silent failure if not) $sWebPage = InputBox ("Webpage?", "Webpage with images to download"); webpage with images $oIE = _IECreate() _IENavigate($oIE, $sWebPage) $oIMGs = _IETagNameGetCollection($oIE.document, "img") ; Loop through all IMG tags and save file to local directory using INetGet For $oIMG in $oIMGs $sImgUrl = $oIMG.src $sImgFileName = $oIMG.nameProp INetGet($sImgUrl, $sImgDir & $sImgFileName) Next Link to comment Share on other sites More sharing options...
Drath Posted January 29, 2006 Author Share Posted January 29, 2006 Hmmm would it be possible if I could bypass physically downloading them? I wish that you could just hover over the image with the window information program and get all the properties and the nice little variables that come with them. I think what I am going to do is right click the image, copy the url address and then compare the clipboard information. 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