Improvement requests
: K-Meleon Forum
Use this forum to talk about a feature you're missing. Use the bug tracker to report it if necessary.
A word you have used in your post: "Ugg ", has been banned from use. Please use a different word or contact the forum administrators.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=Doon] Excellent information and corrections, Siria. Learning new stuff every day: very good point about the menu modifying exclamation point (!). Your simplified code is definitely the best choice by far (I'll edit my posting to reflect this). The trick of adding an ID after a "|" to determine menu order is new to me, but it still leaves a bit to be desired, such as when dealing with a menu divider ( - ). But while experimenting just now I realized that using a number after the "|" can determine the menu position also, based on index numbers starting with zero (0,1,2,3,etc.). Which means that this code: [b][color=blue]!LinkOpen{ Open In This Tab=ID_OPEN_LINK|2 } [/color][/b] ...would replicate [i]exactly[/i] what the original whole-menu code accomplished (including menu order), but without the harmful side effects. Thank you! This has taught me a lot. And yes siria, "that command really ignores the targets". :) Good call on the window diversion preference, and yep, using a menu's internal name (LinkOpen) and contents in the basic menus.cfg does in fact (by design) replace that menu's contents [i]entirely[/i] (which was foolish in this instance), but I didn't realize (or remember) that it would affect other macro based menu changes. I've already half forgotten the details but I seem to remember now that macro based menu changes can be better and offer more flexibility than .cfg based changes (not that I know much about making them, and my menu CFGs are a total mess). The problem is that macro based changes can be far more complicated for a new user. Just for kicks, this is the same thing as above in standalone macro form: [color=navy][code]OpenInThisTab{ setmenu(LinkOpen,command,"Open In This Tab",ID_OPEN_LINK,2); } $OnInit=$OnInit."OpenInThisTab;"; $macroModules=$macroModules."ThisTab;";[/code][/color] evil ugg -- I hoped some would smile at that, hehe.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development