Menu

Font size custom

2020-08-30
2020-10-22
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    Do it is possible to add a option to customize font size in console with SetConsoleFontEx?

     
  • v77

    v77 - 2020-08-30

    The console window is rarely something we want to keep visible...
    Why do you want that?
    What would be the advantage in comparison to a standard shortcut (.lnk file)?

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    When I wake up I struggle to read the small print on the screen. But I can also use ".lnk". ty

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    I can't to use lnk.
    I use a script to generate a proxycrypt command on the fly, and then I not can to pass argument to lnk.

     
  • v77

    v77 - 2020-08-30

    You can create a shortcut to a .bat file. The .bat file will receive the generated command and the shortcut will allow you to change the font.

    Of course, if the .bat file is an issue, I might consider adding an option.

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    in .bat I don't think I can to set custom font size.

     
  • v77

    v77 - 2020-08-30

    Not in the .bat, in the shortcut to the .bat.

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    but again, in lnk I can't pass arguments from a script.

     
  • v77

    v77 - 2020-08-30

    The arguments will be written in the .bat called by the .lnk.

    So you have the .bat of your script, and another dynamically created .bat which will be called by the .lnk.

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    I Have dest.bat:
    echo %1 & pause

    I have dest.lnk to dest.bat:
    destination: c:\dest.bat

    I Have script.bat:
    START dest.lnk argument1

    I not see how argument1 can come to dest.bat if bridge dest.lnk not accept any argument.

     
  • v77

    v77 - 2020-08-30

    More something like this:

    dest.lnk points to dest.bat (dest.bat is for now an empty file).

    script.bat:
    echo ProxyCrypt64.exe argument1 argument2 >dest.bat
    start dest.lnk

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    Rather cumbersome but it works.

     
  • Mario Pilesi

    Mario Pilesi - 2020-08-30

    In this way, however, there are greater risks of leaving traces on your proxycrypt configuration.
    Consider adding an option.
    ty

     
  • v77

    v77 - 2020-09-13

    I am currently adding something in ProxyCrypt to change the font of the current console.

    If the previous font is not restored when ProxyCrypt exits, is this an issue?

     
  • Mario Pilesi

    Mario Pilesi - 2020-09-13

    No problem for me, ty.

     
  • v77

    v77 - 2020-10-22

    I just added the -font switch. As said in the syntax help, first use this command:
    ProxyCrypt -font d

     
  • Mario Pilesi

    Mario Pilesi - 2020-10-22

    It work fine, ty.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.