Page 1 of 1
bbcode buttons?
Posted: Thu Jan 14, 2010 6:30 pm
by schmeck
hi all, i am just trying akelpad and it looks small and fast.
i installed the toolbar plugin and am asking myself which command can i enter to get bbcode buttons, so that when selecting a text and i press the button ie its wrapped in
?
thanks
Posted: Fri Jan 15, 2010 8:05 am
by Fr0sT
schmeck
Scripts Plugin &
this
Posted: Mon Jan 18, 2010 4:52 am
by ravenlaughs
Uh, yeah, if it worked. All I can get is an error message. Anybody got any clues in English?
Posted: Mon Jan 18, 2010 7:40 am
by Fr0sT
What error message? Maybe you haven't installed & registered Scripts plugin?
Posted: Sun Jan 24, 2010 2:49 pm
by ravenlaughs
---------------------------
Windows Script Host
---------------------------
Script: E:\txt-html\AkelPad\AkelFiles\Plugs\Scripts\tagsurround.js
Line: 18
Char: 52
Error: Expected '}'
Code: 800A03F1
Source: Microsoft JScript compilation error
---------------------------
OK
---------------------------
Plugin is registered. *shrug* I already have my own system anyway.
Posted: Sun Jan 24, 2010 4:03 pm
by FeyFre
ravenlaughs, this is sybtax error. Probably when copied source of script you missed last line.
Posted: Mon Jan 25, 2010 8:08 am
by Fr0sT
ravenlaughs
simply add "}" to the told position as he asks

Posted: Sun Jan 31, 2010 5:27 am
by ravenlaughs
That helps a lot. Now I get this:
---------------------------
Windows Script Host
---------------------------
Script: E:\txt-html\AkelPad\AkelFiles\Plugs\Scripts\tagsurround.js
Line: 4
Char: 1
Error: Automation server can't create object
Code: 800A01AD
Source: Microsoft JScript runtime error
---------------------------
OK
---------------------------
Variety is nice, but doesn't get me anywhere. The script is making some assumptions that don't hold water in my system. Same thing happens with other scripts. Problem is
var AkelPad = new ActiveXObject("AkelPad.document");
--but what is the problem?
Posted: Sun Jan 31, 2010 2:42 pm
by FeyFre
ravenlaughs You MUST register plugin. Run Scripts-register.bat from plugin directory.