Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Can utils plugin copy from cache ?
Posted by: CaptnBlack
Date: August 16, 2006 11:42AM

I've been playing with the utils plugin, and was wondering if it could be used to copy files from the Km cache to another folder on your harddrive.

Also could you use varibles for the folder/filename ?

For example could I create a folder with todays date with this var:

E:\My Pics\%date:~4,2%-%date:~7,2%-%date:~10,4%

and filename with this var:
\%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2%.jpg

Options: ReplyQuote
Re: Can utils plugin copy from cache ?
Posted by: alain aupeix chez wanadoo fr
Date: August 16, 2006 12:19PM

If you can keep the name of the picture in the cache, I think it's possible.
But I haven't the solution to keep it automaticly in a macro.

A+

Options: ReplyQuote
Re: Can utils plugin copy from cache ?
Posted by: CaptnBlack
Date: August 16, 2006 01:50PM

How about copy the image from the cache to the folder, and then use rename ?

Only problem is, how would you find the correct name in the cache ?
The "ImageCache" macros can retrieve info about the image, but can you retrieve the actual image ?

In Firefox you can save files from the cache via the "Page Info" dialog, but I'm not sure how to go about this with K-meleon.

Options: ReplyQuote
Re: Can utils plugin copy from cache ?
Posted by: alain aupeix chez wanadoo fr
Date: August 16, 2006 07:33PM

Yes, how to have the real name ...

It is easier to make it in the IE cache, where names are the names found in info (except when multiple files with the same name).

For mozilla/K-Meleon, I really don't know ...

If it's possible in Firefox, I suppose it's made by xul functions, what we have less than firefox and old K-Meleon versions.

A+

Options: ReplyQuote


K-Meleon forum is powered by Phorum.