Skip to content

Commit c5f16d6

Browse files
committed
Add a terminal size and an additional technology gap before rechecking for Ghostscript
1 parent da80d08 commit c5f16d6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

batch_PDF_compressor.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
@echo off
66
title Batch PDF compressor
77
color 1F
8+
mode con: cols=105
89

910
set "outputFile=%USERPROFILE%\documents\batch_PDF_compressor_log.txt"
1011

modules/ghostscript.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ echo %error_separator% & echo %error_separator% >> %outputFile%
5252

5353
if "%exitScript%"=="0" if %attempt% lss 2 (
5454
set /a attempt+=1
55+
timeout /t 2 >nul
5556
cls & goto check
5657
) else (
5758
cls & title = Batch PDF compressor

0 commit comments

Comments
 (0)