Topic: Encoding/Decoding Macros (1 of 5), Read 27 times
Conf: VEDIT Macro Library
From: John H
Date: Friday, May 21, 2004 06:25 PM

Hi,

I wanted to share with you my second, third and fourth projects since
I got wrapped up in Vedit.

Although they can be eclipsed in speed (for large files esp) quite
easily with an executable they're not too shabby.

ROT-13.VDM = Simple ROT-13 'cipher'
B64-IN.VDM = Decodes Base64 files and blocks
B64-OUT.VDM = Encodes Base64 files and blocks

I've made careful attention to make sure they operate in all 3
flavors of Vedit. I've not regression tested these. I have a few
areas that look for version <> 6.12 but I am not certain there
aren't parts I don't know about that would fail in pre v612.

..so without more tests I'd rather say v612 5-20-2004 or higher
required.

While you're there, you might get a kick out of my base64
encode/decode macros that I call 'right brain' versions. Quite
amusing how I went about it.

I've placed the macros here: http://cu2.home.comcast.net/vedit

--
John
VEDIT SN: 95651
VEDIT (DOS) Ver. 6.12.1 05/20/04
VEDIT (32-Bit) Ver. 6.12.1 05/20/04
VEDIT Pro (64-Bit) Beta Test Ver. 6.12.1 05/20/04
Windows 2000 (5.0.2195 Service Pack 4)

 


Topic: Re: Encoding/Decoding Macros (2 of 5), Read 21 times
Conf: VEDIT Macro Library
From: Ted Green
Date: Monday, September 06, 2004 03:33 PM

At 06:26 PM 5/21/2004, you wrote:
>Although they can be eclipsed in speed (for large files esp) quite
>easily with an executable they're not too shabby.
>
>ROT-13.VDM = Simple ROT-13 'cipher'
>B64-IN.VDM = Decodes Base64 files and blocks
>B64-OUT.VDM = Encodes Base64 files and blocks

VEDIT 6.13 will include these three macro.
Tentatively, B64-IN.VDM will be run by {MISC, More macros, BASE64).

I modified b64-in.vdm to better handle trailing whitespace in the file (which was causing the macro to loop endlessly).

Ted.

 


Topic: Encoding/Decoding Macros (3 of 5), Read 14 times
Conf: VEDIT Macro Library
From: Pauli Lindgren
Date: Wednesday, September 08, 2004 12:45 PM

On 5/21/2004 6:25:36 PM, John H wrote:
>
>ROT-13.VDM = Simple ROT-13 'cipher'
>B64-IN.VDM = Decodes Base64 files and blocks
>B64-OUT.VDM = Encodes Base64 files and blocks

Do you need a macro to convert to/from ROT-13?
If you have the translate table, you could just highlight a block and then select:
Edit -> Translate -> Translate to ROT-13

--
Pauli

 


Topic: Encoding/Decoding Macros (4 of 5), Read 14 times
Conf: VEDIT Macro Library
From: John H
Date: Wednesday, September 08, 2004 04:22 PM

On Wed, 8 Sep 2004 12:45:49 -0400 GMT, Pauli Lindgren wrote:

> On 5/21/2004 6:25:36 PM, John H wrote:
>>
>>ROT-13.VDM = Simple ROT-13 'cipher'
>>B64-IN.VDM = Decodes Base64 files and blocks
>>B64-OUT.VDM = Encodes Base64 files and blocks

> Do you need a macro to convert to/from ROT-13?
> If you have the translate table, you could just highlight a block and then select:
> Edit -> Translate -> Translate to ROT-13

Suppose you only have a block of ROT-13?

--
John

 


Topic: Encoding/Decoding Macros (5 of 5), Read 18 times
Conf: VEDIT Macro Library
From: John H
Date: Wednesday, September 08, 2004 04:47 PM


>> Do you need a macro to convert to/from ROT-13?
>> If you have the translate table, you could just highlight a block and then select:
>> Edit -> Translate -> Translate to ROT-13

> Suppose you only have a block of ROT-13?

Nevermind :-) I forgot the ROT-13 table works that way also.

--
John