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=ndebord] [quote=siria] The explanation is in the [b]first posting[/b], ndebord :) It gives the structure into which the various mini-macros can be copied, like books into a book shelf. Basically the one thing they use all in common, is the buildmenu-collection at the bottom, in there all the setmenu-lines should be copied. If not, the mini-macros still work but have no menu entry, so could only be used for toolbar buttons, shortcuts or mouse gestures ;-) By the way the name for a kmm-file doesn't matter in the least for the function. All that matters are the macro commands inside it that have the "{" right after them. Taking the above as example, the command (or startup command ;-) for buttons/shortcuts/gestures would simply be "[b][color=red]macros([/color][/b]minimacros_EditUserAgents[b][color=red])[/color][/b]" Those blue lines in your quote could really just be copied into a new text file, saved as is (without any additions) under anyname.kmm in a macros folder and could be used for buttons etc. - just wouldn't show up in any menu. But usually one wants also menu entries, and that's the job of the [b]buildmenu[/b]-macro, at the very bottom of nearly all kmm-files. Only that one needs to be called automatically at startup of the browser, which is done with that "OnInit"-line :) I remember I was rather confused too in the beginning, until I realized that a kmm-file is called a "macro", but also the single commands (menu entries) in it are "macros"![/quote] Siria, Much thanks for the explanation. Absolutely zero time available to play with the macros, but do appreciate the user agents, which I copied into that file you mentioned and now have availble in Tools/User Agent.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development