Skip to content

Commit 5926471

Browse files
committed
win-script: run batch_script on #fullscreen mode by default
Signed-off-by: KARTHIK LAL <[email protected]>
1 parent e4d1a5a commit 5926471

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

clean-win.bat

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
@echo off
2+
3+
:: This script will clean the Windows build directory.
4+
:: FORCE SCRIPT TO WORK ON FULL SCREEN MODE
5+
:VBSDynamicBuild
6+
7+
SET TempVBSFile=%temp%\~tmpSendKeysTemp.vbs &:: SET TEMP VBS FILE
8+
IF EXIST "%TempVBSFile%" DEL /F /Q "%TempVBSFile%" &:: IF TEMP VBS FILE EXISTS, DELETE IT
9+
10+
echo Set WshShell = WScript.CreateObject("WScript.Shell") >>"%TempVBSFile%" &:: ECHO SET WSH SHELL
11+
echo Wscript.Sleep 1 >>"%TempVBSFile%" &:: ECHO WSCRIPT SLEEP 1
12+
echo WshShell.SendKeys "{F11}" >>"%TempVBSFile%" &:: ECHO WSH SHELL SEND KEYS F11
13+
echo Wscript.Sleep 1 >>"%TempVBSFile%" &:: ECHO WSCRIPT SLEEP 1
14+
15+
CSCRIPT //nologo "%TempVBSFile%"
16+
217
color 0a &:: hacker color (just kidding)
318

419
title KARTHIK-V1.0 &:: title is needed cuz of the way the console is displayed

0 commit comments

Comments
 (0)