K-Meleon

KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Download Express

Submitted by: Johnny Sim-Bravenboer

Note: this macro relies on an external application that is no longer supported or maintained.

Notes:

This macro is for an older version of K-meleon.
For the latest version of this macro, please click here


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

You can get Download Express here:

Download Express Website

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


Changes:

09-28-06 Updated the macro to be compatible with K-Meleon v1.02.
07-26-05 Extended the 'manually send a link' option to use the clipboard contents as default entry.
04-16-05 Added an option to the DEP-menu to manually send a link to Download Express.
03-18-05 Added an option to the DEP-menu to open Control Panel Internet Options.
03-18-05 Added an option to the DEP-menu to open Download Express Options.


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";
    exec("C:\\Program Files\\Download Express\\dep.exe /PAUSEDURL=".$SelectedText);
}

#Enter a URL to be Downloaded by Download Express

save_typed_with_de{
        menu = "Enter &URL to Download with Download Express";
        $clipboardlink = getClipBoard();
        $deplink=prompt("Enter an URL to be downloaded by Download Express:","Enter URL",$clipboardlink);
        $deplink!=""? exec("C:\\Program Files\\Download Express\\dep.exe /PAUSEDURL=".$deplink):;        
}

# 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(save_typed_with_de)
     -
     macros(ie_options)
}
Link{
    %ifplugin layers
    layers(OpenLink,Open In Ne&w Layer)
    layers(OpenLinkBg,Open In Bac&kground Layer)
    -
    %endif
    Open In &New Window=ID_OPEN_LINK_IN_NEW_WINDOW
    Open In Back&ground Window=ID_OPEN_LINK_IN_BACKGROUND
    -
    bookmarks(AddLink,Add Link To &Bookmarks)
    favorites(AddLink,Add Link To Fa&vorites)
    hotlist(AddLink,Add Link To H&otlist)
    &Save Link Target As...=ID_SAVE_LINK_AS
    %ifplugin macros
    :Op&en Link Target With
    macros(save_as_with_de)
    %endif
    -
    LinkSelection
    -
    macros(LinkInfo,Link &Properties)
}

Selected Te&xt{
    :&Translate From
    -
    macros(OpenText,&Open As URL)
    macros(save_selected_with_de)
    macros(EmailText,Sen&d By Mail...)
    -
    !Engines
}


In Toolbars:

Download Express{
    %ifplugin macros
    macros(de)|dep_menu
    Download Express Project List. Right-click for more options.
    projectslist.bmp[0]
    projectslist.bmp[1]
    projectslist.bmp[1]
}


Comments & Questions

K-Meleon

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