Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=disrupted] hello binary, those are shortcuts not the actual paths but it's no problem, you will need to edit a few things yourself and that;s good cause this way you can learn macro easily and then share your macros with everybody first download this 7z package: [url=http://kmext.sourceforge.net/tests/alexapplauncher.7z]http://kmext.sourceforge.net/tests/alexapplauncher.7z[/url] you can extract it with 7z program etc. extract it in your kmeleon install folder inside the package you will find 2 files inside 2 folders: this file called alexapps.kmm should be saved in kmeleon\macros folder and the bitmap axapp.bmp should be saved inside a folder called default inside the skins folder. extracting with 7z will automatically send those files to their proper folders or you can use the extensions manager after extracting, open alexapps.kmm in notepad, it's a simple text file. it will look like this: [color=green][sub]# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # --------alex app launcher: shortcuts to applications alexapp01{ exec("\"[color=red]c:\\windows\\notepad.exe\[/color]""); } alexapp02{ exec("\"[color=red]C:\\Program Files\\Internet Explorer\\IEXPLORE.exe\[/color]""); } alexapp03{ exec("\"[color=red]C:\\Program Files\\Windows Media Player\\wmplayer.exe\[/color]""); } alexapp04{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp05{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp06{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp07{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp08{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp09{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapp10{ exec("\"[color=red]c:\\windows\\notepad.exe[/color]\""); } alexapps_BuildMenu{ setmenu("&Tools",inline,alex_apps,3); setmenu(alex_apps,popup,"App Launchers"); setmenu("App Launchers",macro,"[color=blue]Application 1[/color]",alexapp01); setmenu("App Launchers",macro,"[color=blue]Application 2[/color]",alexapp02); setmenu("App Launchers",macro,"[color=blue]Application 3[/color]",alexapp03); setmenu("App Launchers",macro,"[color=blue]Application 4[/color]",alexapp04); setmenu("App Launchers",macro,"[color=blue]Application 5[/color]",alexapp05); setmenu("App Launchers",macro,"[color=blue]Application 6[/color]",alexapp06); setmenu("App Launchers",macro,"[color=blue]Application 7[/color]",alexapp07); setmenu("App Launchers",macro,"[color=blue]Application 8[/color]",alexapp08); setmenu("App Launchers",macro,"[color=blue]Application 9[/color]",alexapp09); setmenu("App Launchers",macro,"[color=blue]Application 10[/color]",alexapp10); } alexapps_BuildToolbar{ $alexappstip=_("quick launchers"); pluginmsg(toolbars,"AddToolbar","App Launchers,16,16",""); $extman=(pluginmsg(toolbars,"AddButton","App Launchers,alexapps,macros("."alexapp01"."),"."App Launchers".",".$alexappstip.",16,16,"."axapp.bmp[1],axapp.bmp[0]","")); } $OnInit=$OnInit."alexapps_BuildMenu;"; $OnSetup=$OnSetup."alexapps_BuildToolbar;"; # ---------------------------------------------- $macroModules=$macroModules."alexapps_launcher;";[/sub][/color] this macro will create 2 tthings: 1- a pop menu inside the tools menu called 'app launchers' 2- a toolbar button that when right clicked will open that same app launchers menu the red and blue parts are the ones you will need to edit, they are just an example template here the red parts are the paths to your programs for e.g c:\\windows\\notepad.exe can be replaced with a path to any program you like like g:\\orbit downloader\\ordbit.exe etc just edit all the paths after the exec command with the paths your preferred programs, you have up to 10 programs remeber, just edit the paths, do not remove any quotes the macro paths is similar to registry path so you have to use double slashes not one slash e.g.: g:\orbit downloader\ordbit.exe < this is wrong g:\\orbit downloader\\ordbit.exe <this is correct the final string should look like this exec("\"g:\\orbit downloader\\ordbit.exe\""); the blue parts are the menu names that will appear inside the menu. there are restrictions here and you can enter any name you like..just make sure that ever one has a different name and don't forget the double quotes to contain the name e.g. "[color=blue]my notepad[/color]" application 1 corresponds to the first shortcut and so on[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development