gruntydatsun 12 Posted October 15, 2012 OK. I need to save a copy of an image from a webpage. I cannot re-request the image or inetget it as the image changes every time. I need to get a copy of the image as it appears on this webpage, from this load. I can manually right click the image with the mouse and save locally and that works. Is there a way to get _IEImgClick to perform a right click so I can access the context menu? should I just ry to save the page out to a file and strip it out of there? I thought this bit was going to be the easy part of the script but it's kicking my butt. Any help greatly appreciated. Thank you. Share this post Link to post Share on other sites
EKY32 20 Posted October 15, 2012 if the image has a special name in the <img> code in the page you can get the link of it using _StringBetween or something else then use InetGet to download the image. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Share this post Link to post Share on other sites
JohnOne 1,603 Posted October 15, 2012 The OP cannot use InetGet, "as the image changes every time."Imagine if it were an image like a capcha or something, it would change with eachattempt to download it. So I think it might be something similar.(I'm not suggesting it is actually a capcha) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
FireFox 260 Posted October 15, 2012 then use InetGet to download the image.He said that the image changes for every request OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDFMy Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme makerMy Examples : Capture tool | IP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewerMy Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control Share this post Link to post Share on other sites
EKY32 20 Posted October 15, 2012 He said that the image changes for every request I know that, and I told him to get the link of the image from the HTML code in the page. [font="'trebuchet ms', helvetica, sans-serif;"]Please mark the answer of your question if you found it.[/font] Share this post Link to post Share on other sites
JohnOne 1,603 Posted October 15, 2012 I know that, and I told him to get the link of the image from the HTML code in the page.And then went on to suggest InetGet be used. 1 FireFox reacted to this AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
gruntydatsun 12 Posted October 17, 2012 Sure a picture on the currently loaded instance of a webpage must exist on the hard drive or in ram somewhere. I don't need code, just some strategy on how to get at this file. Any help appreciated. Share this post Link to post Share on other sites
JohnOne 1,603 Posted October 17, 2012 Yes, in your internet cache, good look finding it though, they usually just have random names and no extension. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
DaleHohm 65 Posted October 17, 2012 There have been many discussions of this sort of thing in the forum before and they always end up being someone trying to defeat a capcha. I believe that a capha is a valid, relatively unobtrusive security mechanism and do not wish to see anyone create an evasion for them because I worry that the next method devised to insure such security will be much more painful for everyone. Dale 1 JohnOne reacted to this Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curlMSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object modelAutomate input type=file (Related)Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better?IE.au3 issues with Vista - WorkaroundsSciTe 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
gruntydatsun 12 Posted October 18, 2012 If I was smart enough to make a neural network to defeat captcha, I wouldn't need help saving out a picture from a webpage. I can already do what I'm asking by saving a copy of the page locally then pull it out of there. I was just looking for a tidier way of doing it. If there's no easier way then I'll just go with the long way that works already. The next method beyond captcha is infinitely easier on users. It'll be simple visual symbol recognition or logic puzzles that don't pop your eyeballs or your eardrums like current craptastic captcha does. Share this post Link to post Share on other sites