Development :  K-Meleon Forum
K-Meleon development related discussions. 
How can I see the downloaded files?
Posted by: BET0ET0
Date: March 20, 2012 12:52AM

just that

Options: ReplyQuote
Re: How can I see the downloaded files?
Posted by: Chanson Yu
Date: March 20, 2012 08:18AM



Options: ReplyQuote
Re: How can I see the downloaded files?
Posted by: JujuLand
Date: March 21, 2012 06:51PM

Chanson, you're right, but I think that BETOETO wants to open the folder the same way we can do it with firefox.

For that, if, like you said, the folders must to be set, you can use this macro to add entries in Configuration menu to view these folder entries.

It's an old extension I made there is a long time. I have had some problems which were due to some change of the menu entry which was Confi&guration, and is now C&onfiguration. Dont forget if the manu isn't like I found it to modify it in the macro file.

Its name is OpenDir.kmm and must be located in K-Meleon\macros

== beginning end of the file =========================================

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Open Download Dir and Save Dir ---------------------------
#
# Dependencies : -
# Resources : -
# Preferences : -
#
# ---------------------------------------------------------------------

$_OpenDir_Download=getpref(STRING,"kmeleon.download.dir");
$_OpenDir_Page=getpref(STRING,"kmeleon.download.saveDir");

# ---------- General --------------------------------------------------

OpenDir_Download{
menugrayed=($_OpenDir_Download=="");
exec("explorer.exe \"".$_OpenDir_Download."\"");
}

OpenDir_Page{
menugrayed=($_OpenDir_Page=="");
exec("explorer.exe \"".$_OpenDir_Page."\"");
}

# ---------- PRIVATE --------------------------------------------------

_OpenDir_BuildMenu{
# edit menu
setmenu("C&onfiguration",macro,"Open Do&wnload Dir",OpenDir_Download,-1);
setmenu("C&onfiguration",macro,"Open Sa&ved Pages Dir",OpenDir_Page,-1);
}

$OnInit=$OnInit."_OpenDir_BuildMenu;";

# ---------------------------------------------------------------------
$macroModules=$macroModules."OpenDir;";

== end of the file =====================================================

As you can see, due to an ole capacity of K-Meleon, we have two possibilities to save things: download or pages.

In a few number of last versions, there is no more this choice, saved pages and downloads are located in the same folder.

In fact, in 1.6.0, and others I think, the prefs exists to allow it, if you open Configuration > Browser configuration, and enter the word download, you can see and set these prefs:

kmeleon.download.useDownloadDir is set
kmeleon.download.useSaveDir is unset, and you can set it

You can also set the folder in :
kmeleon.download.Dir
kmeleon.download.saveDir

The manual parameter for kmeleon.download.savedir is kept until you use Preference to set it for kmeleon.download.Dir

A+


Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:24.0) Gecko/20140105 Ubuntu/12.04 K-Meleon/74.0

Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr





Edited 2 time(s). Last edit at 03/21/2012 06:52PM by JujuLand.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.