Development
: K-Meleon Forum
K-Meleon development related discussions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=jsnj] [quote=kmeleon_user] well, i'm messing around trying to learn macros, and wanted to edit this one. my changes DO NOT AFFECT the operation of this macro at all. If i delete the macro from the macros folder, it is gone, but if i edit it to look like: [code] # K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ---------- BugMeNot ---------------------------------------------------------------------------------------------- # # Dependencies : main.kmm (OpenURL), sendto.kmm (menus) # Resources : - # Preferences : - # # ------------------------------------------------------------------------------------------------------------------ BugMeNot{ } # ----- PRIVATE _BugMeNot_BuildMenu{ index($macroModules,";SendTo;")>-1?setmenu($_SendTo_Page,macro,"&BugMeNot",BugMeNot): setmenu(DocumentOpenExternal,macro,"&BugMeNot",BugMeNot); } $OnInit=$OnInit."_BugMeNot_BuildMenu;"; # ------------------------------------------------------------------------------------------------------------------ $macroModules=$macroModules."BugMeNot;"; [/code] it functions normally... how can that be???? there is no code in the macro, but it still works... i restarted kmeleon and my computer. still the macro opens a window to bugmenot WITHOUT ANY CODE in the macro !?!?!?[/quote] I've run into situations where sometimes K-M just doesn't like a certain file for some reason that's above my paygrade. Whether it be some sort of encoding issue or whatever. Sometimes copying the contents from the kmm file at issue and pasting into another blank file & saving it there replacing the original can resolve things. Worth a try if you haven't already. Can't hurt. [quote]Really, no matter how weird, when writing macros I quite often run into such situations, that things happen that are just NOT possible, and it drives me NUTS! But still, each time, after searching like crazy and doubting my sanity, sooner or later the reason is finally found - and usually completely embarassing... Oops..! grinning smiley [/quote] LOLOL...been there MANY times.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development