16 lines
264 B
Batchfile
16 lines
264 B
Batchfile
|
@echo off
|
||
|
|
||
|
::Check if python is installed
|
||
|
:check
|
||
|
python --version 3>NUL
|
||
|
if errorlevel 1 goto errorNoPython
|
||
|
|
||
|
::If python is installed then it runs the program
|
||
|
pip install pyautogui
|
||
|
exit
|
||
|
|
||
|
::Install python
|
||
|
:errorNoPython
|
||
|
python
|
||
|
timeout /t 60
|
||
|
goto check
|