Jump to content
Sign in to follow this  
Iczer

Standart IE UDF - how to get path to image in the browser cache an make it show itself in main window

Recommended Posts

Iczer

is there some method :
to get path to image in the browser cache
to make image show itself (load) on the page (IE in OS configured to not to not show images by default)

For now it like this:

$picNameOrig = StringRegExpReplace($rawHTML,'(?is).*<img src="http:.+/(.+?)" />.*', '$1')
$picExtOrig = StringStripWS(StringMid($picNameOrig,StringInStr($picNameOrig,".",0,-1)+1),3)
$Path_Cache = RegRead ( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders", "Cache" ) & "\Content.IE5"
$mask = StringRegExpReplace($picNameOrig,"\.","*")
$fileList = _FileSearch($Path_Cache, $mask, 1)

and i get image to load by right-clicking on it.

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  

×