Topic: Needs enhancement of ASCI2.VDM (1 of 2), Read 12 times
Conf: VEDIT Macro Language Support
From: Peter Rejto
Date: Monday, July 25, 2011 03:39 PM

Hi,

I have recently learned that the macro implementing the Vedit {Misc, ASCII table} menu command gives different tables for different font character sets.

Now I would like to include the font character set parameter in this display. I have written a very short macro displaying this parameter on the Status Line. Here it is,

#1=Font_Charset
if (#1==0) { Statline_Message("ANSI") }
if (#1==255) { Statline_Message("OEM") }
Return

This was the easy part. The hard part would be to include in the table, as a title.

I looked at Maxim Glukhov's ASCI2.VDM. I think that this is the macro that implements this menu command. Glukhov does a great job with his table. However, the Vedit formatting commands are above my head. So, I can not include it in the table.


Thanks as always,


-peter

 


Topic: Needs enhancement of ASCI2.VDM (2 of 2), Read 10 times
Conf: VEDIT Macro Language Support
From: Pauli Lindgren
Date: Friday, July 29, 2011 05:51 AM

On 7/25/2011 3:39:05 PM, peter rejto wrote:
>
> I have recently learned that
> the macro implementing the
> Vedit {Misc, ASCII table} menu
> command gives different tables
> for different font character
> sets.
...
> I looked at Maxim Glukhov's
> ASCI2.VDM. I think that this
> is the macro that implements
> this menu command. Glukhov
> does a great job with his
> table. However, the Vedit
> formatting commands are above
> my head. So, I can not include
> it in the table.

ASCI2.VDM does not implement {Misc, ASCII table}.
It implements {Edit, Insert, ASCII table 2...}.

You could add the script name in the window title using the macro command Win_Title().

By the way, the cursor up/down keys in ASCII2.VDM do not work correctly. They move cursor diagonally instead of moving it straight up/down.

--
Pauli