bbcode buttons?

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 1
Joined: Thu Jan 14, 2010 6:27 pm

bbcode buttons?

Post 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

Code: Select all

[b]...[/b] 
?

thanks

Offline
Posts: 876
Joined: Tue Jul 24, 2007 8:54 am

Post by Fr0sT »

schmeck
Scripts Plugin & this

Offline
Posts: 40
Joined: Sat Sep 06, 2008 1:39 am

Post by ravenlaughs »

Uh, yeah, if it worked. All I can get is an error message. Anybody got any clues in English?

Offline
Posts: 876
Joined: Tue Jul 24, 2007 8:54 am

Post by Fr0sT »

What error message? Maybe you haven't installed & registered Scripts plugin?

Offline
Posts: 40
Joined: Sat Sep 06, 2008 1:39 am

Post 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.

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

ravenlaughs, this is sybtax error. Probably when copied source of script you missed last line.

Offline
Posts: 876
Joined: Tue Jul 24, 2007 8:54 am

Post by Fr0sT »

ravenlaughs
simply add "}" to the told position as he asks :)

Offline
Posts: 40
Joined: Sat Sep 06, 2008 1:39 am

Post 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?

Offline
Posts: 2247
Joined: Tue Aug 07, 2007 2:03 pm
Location: Vinnitsa, Ukraine

Post by FeyFre »

ravenlaughs You MUST register plugin. Run Scripts-register.bat from plugin directory.
Post Reply