K-Meleon

KMeleonWiki > Resources > MacroLibrary > Download Express

Submitted by: Johnny Sim-Bravenboer



Notes:

This macro will allow you to use Download Express from the right-click menu and toolbar.

You can get Download Express here:

http://www.metaproducts.com/mp/mpProducts_Detail.asp?id=18

Note that the path to Download Express may vary, depending on where you have installed Download Express ;-)

In addition you will need the projectlist.bmp file with the 2 toolbar icons if you wish to have the Projectlist button on your toolbar. If not, please ignore the adjustments in the toolbars.cfg file.

You can use this picture file for the toolbar button and convert it to bmp: internal://bcf65ac231f77aa750aeeb84a36273a8.jpeg


In Macros:

# Download Express Macros

# Download Express Project List

de{
   exec("C:\\Program Files\\Download Express\\projectslist.exe");
}

# Download Express Options

dep{
    menu = "Download Express Options";
    exec("C:\\Program Files\\Download Express\\dep.exe /Options");
}

# Send link to Download Express

save_as_with_de{
    menu = "Download with Download Express";
    exec("C:\\Program Files\\Download Express\\dep.exe /PAUSEDURL=".$LinkURL);
}

# Send Selected Text to Download Express

save_selected_with_de{
    menu = "Download with Download Express";
    &Selected;
    exec("C:\\Program Files\\Download Express\\dep.exe /PAUSEDURL=".$add);
}



In Menus:

Link{

%ifplugin layers
layers(OpenLink, Open in New Layer)
layers(OpenLinkBg, Open in Background Layer)
-
%endif
Open in &New Window = ID_OPEN_LINK_IN_NEW_WINDOW
Open in Back&ground Window = ID_OPEN_LINK_IN_BACKGROUND
-
bookmarks(AddLink, Bookmark This Link)
favorites(AddLink, Add Link to Favorites)
hotlist(AddLink, Add Link to Hotlist)
&Copy Link URL = ID_COPY_LINK_LOCATION
%ifplugin macros
macros(SaveLink, Save Link As...)
macros(LinkInfo, View Link URL...)
macros(LinkInIE, View Link In IE)

macros(save_as_with_de)

%else
Save &Link As... = ID_SAVE_LINK_AS
%endif
}




Selected Text{
macros(URL, Go to URL)

macros(save_selected_with_de)

macros(EmailText, Send by Mail)
-
!Web Search
}




Download Options{
macros(DefaultDir, Set Default Download Directory...)

-
macros(de, Open Download Express Project List)
macros(dep)

-
macros(PageDir, Set "Save Page As" Directory...)
macros(ImageDir, Set "Save Image As" Directory...)
macros(LinkDir, Set "Save Link As" Directory...)
}


In Toolbars:

Download Express{
    %ifplugin macros|de
    macros(de)
    Download Express Project List
    projectslist.bmp0?
    projectslist.bmp1?
    projectslist.bmp1?
}


Comments & Questions

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.