teet Posted January 30, 2011 Share Posted January 30, 2011 Hi, I'm wondering if it is possible that I open a web page without downloading the pictures? In other words, can I download text only content using _IECreate or _IENavigate? Thanks! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 30, 2011 Share Posted January 30, 2011 _IEBodyReadText - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
teet Posted January 30, 2011 Author Share Posted January 30, 2011 _IEBodyReadTextThanks Bruce for your input! _IEBodyReadText will extract all text content from an IE object which will have to be initialized by _IECreate or _IENavigate first. This is not what I'm looking for. I'm looking for a way to skip picture downloading so that my page crawling speed may get faster. Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 30, 2011 Share Posted January 30, 2011 (edited) Oh, I see. Good luck though!<br><br>edit: in Firefox, one goes to Tools|Options|Content, and there is an option to 'Load images automatically'. I'm sure there is a similar thing for Internet Explorer, and therefor also for an AutoIt created IE window if it can be set thru a registry entry or something.<br> Edited January 30, 2011 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
hench Posted January 30, 2011 Share Posted January 30, 2011 (edited) IE8 here, Tools - Internet Options - Advanced tab - Multimedia - Show Images checkbox. As somecomputerguy mentionned; there must be a registry key related to that option... I believe you could twitch it for a current session or something ! Can't find it so fast tho .. edit : found this reg key, dont know yet what do do : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\AdvancedOptions\MULTIMEDIA\PICTS edit 2 : ahh, no more battery on laptop so good nite!! hench Edited January 30, 2011 by hench Link to comment Share on other sites More sharing options...
storme Posted January 30, 2011 Share Posted January 30, 2011 If your only after the text on the page you could use InetRead -------------------------------------------------------------------------------- Downloads a file from the internet using the HTTP, HTTPS or FTP protocol. and read though the HTML to get what you want. I've used that approach on another project and it works well. It all depends on what you are doing. Good Luck! John Morrison Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
teet Posted January 30, 2011 Author Share Posted January 30, 2011 Thanks guys!! Changing browser setting or modifying registry entries are not acceptable for me since it will impact my other applications' behaviours. So John's suggestion looks good for me. I'll have a try. Thanks again! 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