Aug-28-2023, 11:49 AM
Hello,
as the title says, how can I achieve a (custom)tkinter window in the foreground (i.e. "maximized") and the cmd terminal which is started when running the bat in the background ("minimized")? I want the user to only see the Python GUI that I created, and not be distracted by some auxiliary cmd window.
I found this code when searching online:
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
which does indeed start the cmd window minimized, but also the customtkinter window.
as the title says, how can I achieve a (custom)tkinter window in the foreground (i.e. "maximized") and the cmd terminal which is started when running the bat in the background ("minimized")? I want the user to only see the Python GUI that I created, and not be distracted by some auxiliary cmd window.
I found this code when searching online:
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit
which does indeed start the cmd window minimized, but also the customtkinter window.