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)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do it is possible to add a option to customize font size in console with SetConsoleFontEx?
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)?
When I wake up I struggle to read the small print on the screen. But I can also use ".lnk". ty
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.
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.
in .bat I don't think I can to set custom font size.
Not in the .bat, in the shortcut to the .bat.
but again, in lnk I can't pass arguments from a script.
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.
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.
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
Rather cumbersome but it works.
In this way, however, there are greater risks of leaving traces on your proxycrypt configuration.
Consider adding an option.
ty
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?
No problem for me, ty.
I just added the -font switch. As said in the syntax help, first use this command:
ProxyCrypt -font d
It work fine, ty.