@echo off rem KittyMacro - double-click to open the window. rem pythonw so no console sits behind it; python.exe if that is all there is. cd /d "%~dp0" where pythonw >nul 2>nul if %errorlevel%==0 (start "" pythonw "%~dp0gui.py" %*) else (python "%~dp0gui.py" %*)