The macros of Fr4/En4 works with 1.0.2:
You must also add util kplugin from mark307
# Quicknote
TextQuickNote{
$note=getpref(INT,"quicknote.totabint");
$to=getpref(STRING,"quicknote.tab".$note."path");
&SendText;
}
SendText{
$refpage="\n----------------------";
getpref(BOOL,"quicknote.showUrl")==false ? 0:$refpage=$refpage."\n".$URL."\n----------------------";
setclipboard();
id(ID_EDIT_COPY);
$text=getclipboard();
$text=$refpage."\n".$text;
pluginmsg(utils, "append", $to, $text);
}
PageQuickNote{
$note=getpref(INT,"quicknote.totabint");
$to=getpref(STRING,"quicknote.tab".$note."path");
&SendPage;
}
SendPage{
$refpage="\n----------------------";
getpref(BOOL,"quicknote.showUrl")==false ? 0:$refpage=$refpage."\n".$URL."\n----------------------";
setclipboard();
id(ID_EDIT_SELECT_ALL);
id(ID_EDIT_COPY);
id(ID_EDIT_SELECT_NONE);
$text=getclipboard();
$text=$refpage."\n".$text;
pluginmsg(utils, "append", $to, $text);
}
QuickNote{
$xul="chrome://quicknote/content/quicknote.xul"; &XUL;
}
Quick0{
$max=getpref(INT,"quicknote.numtabs");
$activ=getpref(INT,"quicknote.totabint");
Alert(_("Number of tabs :")."\t".$max."\n"._("Default tab :")."\t".$activ,_("QuickNote defaults"));
}
Quick1{
setpref(INT,"quicknote.totabint",1);
&Quick0;
}
Quick2{
getpref(INT,"quicknote.numtabs")>1 ? setpref(INT,"quicknote.totabint",2):0;
&Quick0;
}
Quick3{
getpref(INT,"quicknote.numtabs")>2 ? setpref(INT,"quicknote.totabint",3):0;
&Quick0;
}
Quick4{
getpref(INT,"quicknote.numtabs")>3 ? setpref(INT,"quicknote.totabint",4):0;
&Quick0;
}
Modifications in menus:
QuickNote{
macros(QuickNote,QuickNote\tCtrl+Alt+Q)
macros(Quick0,QuickNote defaults\tShift+Ctrl+Alt+Q)
}
&Tools{
%ifplugin macros
:&Mail And News
:QuickNote
-
....
Selected Te&xt{
:&Translate From
-
macros(OpenText,&Open As URL)
macros(EmailText,Sen&d By Mail...)
-
macros(TextQuickNote, Send to QuickNote)
-
.....
Document{
!Nav
-
bookmarks(Add,Add Page To &Bookmarks\tCtrl+D)
favorites(Add,Add Page To Fa&vorites)
hotlist(Add,Add Page To H&otlist)
&Save Page As...\tCtrl+S=ID_FILE_SAVE_AS
macros(EmailURL,Sen&d Page As Link...)
%ifplugin macros
:Op&en Page With
-
macros(PageQuickNote,Send to QuickNote)
%endif
Added to accels.cfg
%ifplugin macros
CTRL ALT Q = macros(QuickNote)
CTRL SHIFT Q = macros(TextQuickNote)
ALT SHIFT Q = macros(PageQuickNote)
%endif
Guenter, Have you tried the 1.1 version ?
It also use util kplugin from mark307
It works great except I haven't the trick to update the tabs when adding something with tabs already opened.
I just put a warning text to remember this problem.
The macros allows
- to add a page, a frame or selected text
- to change the default tab
- to diplay the parameters
-the rest is the same as in firefox extension.
I just also ought to change the default folder where are placed the files, because I should prefer to put it in slt folder.
Remark, it's perhaps necessary to validate options in Quicknote to have prefs created, before beeing able to use some macros.
A+
Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0
Web:
http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr
Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc
Edited 2 time(s). Last edit at 11/16/2006 06:36PM by JujuLand.