Boxer Editor Scripting Thread to learn and exchange scripts for Boxer Text Editor
Boxer Text Editor at DonationCoder
Boxer Text Editor - 51% Off!
Quote
Boxer includes a powerful macro language ... similar in style to the C programming language
===> Boxers Example Macros
Learning C:
Wiki english
The C Book — Table of Contents and free PDF download
C lernen:
Wiki deutsch
Galileo Computing <openbook> C von A bis Z kostenloser download
- - -
Hi, i just trying myself learning how to scripting Boxer
My first attempt is to make an ROT13-macro ('cus i see no such function in Bx and i want to encrypt an Reg-key)
Infos about ROT13:
http://www.senses0.org.mv/popzees/rot/rotn.php
http://en.wikipedia.org/wiki/ROT13
Infos bezüglich ROT13:
http://holger.thoelking.name/skripten/rot13
http://de.wikipedia.org/wiki/ROT13
With PSPad i have simply an Tool "user conversion" with an text file like:
[Table]
97=110
98=111
With Bx (Boxer) i think i have to do an script?
If anyone is interested to take part in ... ('cus my lunch break is over
)I tried the following till now (partly pseudo code)
Code: (c)
// macro description goes here
// modify char to value-x higher char like ROT13
// f.ex. A=65ascii > 65+13=78 > 78ascii=N >>> char 'A' convert to char 'N'
macro newmacro()
{
Const X = 13;
GetSelection(mySEL);
For Each SingleChar in mySEL
isalpha(SingleChar)
newchar = ToAsciiValue(SingleChar) + X
newchar = ToChar(Newchar)
InsertCharacter(newchar)
Next
}




- carpe noctem







Smtg similar like "Go to..." and []extend selection ?