Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: International characters in console windows

  1. #11
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: International characters in console windows

    I'm moving this thread in Console dedicated forum.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #12
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: International characters in console windows

    Default Console sets are stored in Windows Registry under the key:
    HKEY_CURRENT_USER\Console
    Below that key-tree there can be other keys listing application specific setup.

    You can write a script to change font name and pitch directly in the registry but I do not think it is good solution.

    Anyhow a possible script for changing Registry keys is:
    [code=thinbasic]
    uses "registry"
    Registry_SetValue("HKEYCU", "Console\C:_MyApplicationName.exe", "FaceName", "My Font Name")

    [/code]

    where:
    • "Console\C:_MyApplicationName.exe" is the file name of your application.
      For thinBasic uses "Console\C:_thinBasic_thinBasic.exe"
      and
      For thinBasic Console uses "Console\C:_thinBasic_thinBasicC.exe"
    • "My Font Name" is the name of the font to use. Example "Lucida Console"


    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Page 2 of 2 FirstFirst 12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •