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, rename and convert it to projectslist.bmp : internal://bcf65ac231f77aa750aeeb84a36273a8.jpeg

To use this macro, please make the following additions to your .cfg files:

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);
}

# Open Internet Options

ie_options{
     menu = "Windows &Internet Options";
     exec("C:\\Windows\\System32\\rundll32.exe shell32.dll,Control_RunDLL? inetcpl.cpl");
}



In Menus:


dep_menu{
     macros(de, Download Express Project &List)
     macros(dep)
     -
     macros(ie_options)
}



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...)

-
!dep_menu

-
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
    macros(de)|dep_menu
    Download Express Project List. Right-click for more options.
    projectslist.bmp0?
    projectslist.bmp1?
    projectslist.bmp1?
}


Comments & Questions

K-Meleon

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