General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote="alain aupeix chez wanadoo fr"] The variable $dir is created (outside of a function) in the section Download macros in macros.cfg $dir="kmeleon.general.profileDir"; look at this file to see if you have this line. Here are the macros in my file (I perhaps have made some mistakes in the readme file) PageToDesktop{ exec("\"tools\\WebShortcut.exe\"_\"".getpref(STRING,_$dir)."\"_\"".$URL."\"_\"".gsub("\"","'",$TITLE)."\""); } LinkToDesktop{ $sTitle = ""; exec("\"tools\\WebShortcut.exe\"_\"".getpref(STRING,_$dir)."\"_\"".$LinkURL."\"_\"".gsub("\"","'",$sTitle)."\""); } FrameToDesktop{ $sTitle = "Cadre de ".$TITLE; exec("\"tools\\WebShortcut.exe\"_\"".getpref(STRING,_$dir)."\"_\"".$FrameURL."\"_\"".gsub("\"","'",$sTitle)."\""); } webShortcut{ exec("\"tools\\WebShortcut.exe\"_\"".getpref(STRING,_$dir)."\"") } I have replace spaces by _ to show you the real syntax. Don't forget after pasting the macros in your macro file, to remove all the _ The message is normal, because if $dir is empty, there is no parameter, and Web shortcut want 1 or 2 or 3 parameters and not 0[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development