Skip to content

Commit 1a4a27e

Browse files
authored
Update Searchable_Image_PDF_Creat-O-Mat.bat
minor typo corrections
1 parent a4dd14b commit 1a4a27e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Searchable_Image_PDF_Creat-O-Mat.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ IF NOT EXIST "%TESSERACT%" (
5959
ECHO The Tesseract location seems to be wrong. Please check the preferences.
6060
GOTO :SCRIPTEND
6161
)
62-
REM ~ Is the Tesseract langauge package abbrevation of the correct pattern?
62+
REM ~ Is the Tesseract language package abbrevation of the correct pattern?
6363
FOR /F "usebackq tokens=*" %%i IN (`PowerShell -noninteractive -NoProfile "&{ '%SRCLANG%' | Select-String -Pattern '^([a-z]{3}_?([a-z]{3})?)(\+([a-z]{3}_?([a-z]{3})?))*$' -Quiet}"`) DO SET RST=%%i
6464
IF /I NOT "%RST%" == "true" (
6565
ECHO The language settings seem to be wrong. Please check the preferences.
@@ -150,7 +150,7 @@ SET /a "AMOUNT_OF_FILES=%AMOUNT_OF_FILES% + 1"
150150
REM ~ `SHIFT` fills '%1' with the content of the second argument (`%2`), %2 with the content of third argument (`%3`) and so on
151151
SHIFT
152152

153-
REM ~ IF the AMOUNT_OF_FILES dragged onto this .bat is smaller or equal to the total amount of file/arguments AND the next argument is not empty string THEN repeat the last step again. (Otherwise continue to the end of the script.)
153+
REM ~ IF the AMOUNT_OF_FILES dragged onto this .bat is smaller or equal to the total amount of files/arguments AND the next argument is not empty string THEN repeat the last step again. (Otherwise continue to the end of the script.)
154154
IF %AMOUNT_OF_FILES% LEQ %ARGCOUNT% IF NOT "%~1" == "" (
155155
GOTO :LOOP
156156
)
@@ -173,4 +173,4 @@ ECHO ### END ###
173173
ENDLOCAL
174174

175175
REM ~ keep the command line window open
176-
CMD /k
176+
CMD /k

0 commit comments

Comments
 (0)