Skip to content

Commit 0444f90

Browse files
committed
...
:: 2025-01-01 Happy New Year! 🎉
1 parent c05b005 commit 0444f90

6 files changed

Lines changed: 52 additions & 45 deletions

File tree

RCFI Tools.bat

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
:: 2024-12-27 Added: Auto-refresh folder after task completion.
2525
:: 2024-12-27 Fixed: "TemplateAlwaysAsk" activated every time a template was selected in 'Template Configurations'.
2626
:: 2024-12-27 Added: Option to toggle "TemplateAlwaysAsk" in 'Template Configurations'.
27-
:: 2024-12-28 Updated: Recompiled FolderIconUpdater.exe to include required redistributable libraries.
28-
27+
:: 2024-12-28 Updated: Recompiled FolderIconUpdater.exe to include required libraries.
28+
:: 2025-01-01 Happy New Year! 🎉
2929

3030
setlocal
3131
set name=RCFI Tools
@@ -163,7 +163,7 @@ echo %TAB% %PP_%Drag and drop%_%%G_% an %C_%image%G_% into this window,
163163
echo %TAB% then press Enter to change the folder icon.
164164
echo.
165165
echo.
166-
echo "%C_%O%G_%" to open file selection dialog. "%C_%C%G_%" to open Collections folder.
166+
echo %C_%O%G_% to open file selection dialog. %C_%C%G_% to open Collections folder.
167167
)
168168
goto Options-Input
169169

@@ -514,7 +514,7 @@ if /i "%InitDir%"=="collect" (
514514

515515
set "SaveSelectedFile=%RCFI%\resources\selected_file.txt"
516516
set "fileFilter=Image Files (*.jpg, *.png, *.ico, ...)|%ImageFilter%"
517-
set "OpenFileSelector=Add-Type -AssemblyName System.Windows.Forms; $f = New-Object System.Windows.Forms.OpenFileDialog; $f.InitialDirectory = '%initialDirectory%'; $fileDialog.RestoreDirectory = $true; $f.Filter = '%fileFilter%'; $f.ShowDialog() | Out-Null; $f.FileName; exit"
517+
set "OpenFileSelector=Add-Type -AssemblyName System.Windows.Forms; $f = New-Object System.Windows.Forms.OpenFileDialog; $f.InitialDirectory = '%initialDirectory%'; $fileDialog.RestoreDirectory = $true; $f.Multiselect = $true; $f.Filter = '%fileFilter%'; $f.ShowDialog() | Out-Null; $f.FileName; exit"
518518

519519
if /i not "%FS-referer%"=="cmd" (
520520
echo.&echo.&echo.&echo.&echo.&echo.&echo.&echo.&echo.&echo.
@@ -1283,7 +1283,7 @@ echo %W_%%I_% T E M P L A T E %_%
12831283
if /i not "%referer%"=="FI-Generate" (
12841284
if /i "%TemplateAlwaysAsk%"=="yes" (
12851285
echo.
1286-
echo %CC_%%I_% %_% %W_%TemplateAlwaysAsk %G_%is %R_%active%G_%
1286+
echo %CC_%%I_% %_% %W_%TemplateAlwaysAsk %G_%is %GG_%active%G_%
12871287
echo choosing any template will be redirected to Test Mode.
12881288
)
12891289
)
@@ -1720,7 +1720,7 @@ if not "%SrcInput%"=="%SrcInput: icon=%" set "SrcInput=%SrcInput:icon=%"&set "Pr
17201720
if not "%SrcInput%"=="%SrcInput: logo=%" set "SrcInput=%SrcInput:logo=%"&set "PreAppliedKeyword=%PreAppliedKeywordLogo%"
17211721

17221722
Start "" "https://google.com/search?q=%SrcInput% %PreAppliedKeyword%"
1723-
cls
1723+
cls&echo.&echo.&echo.
17241724
if /i not "%Context%"=="" exit
17251725
goto FI-Search
17261726

@@ -3013,6 +3013,12 @@ echo %TAB%%G_%--------------------------------------------------
30133013
echo %TAB%%W_%Location:%ESC%%_%%CollectionsFolder%%ESC%
30143014
echo.
30153015
echo %TAB% %W_%(%C_%%CollectAddSuccess%%W_%)%_% Items added to collections.
3016+
echo.&echo.&echo.
3017+
echo %TAB%%G_%Press %YY_%O%G_% to open Collections folder. ^| %G_%Press %R_%X%G_% to close this window.%BK_%
3018+
choice /C:ox /N
3019+
set "ExitPause=%errorlevel%"
3020+
if /i "%ExitPause%"=="1" explorer.exe "%CollectionsFolder%"&EXIT
3021+
if /i "%ExitPause%"=="2" EXIT
30163022
goto options
30173023

30183024
:IMG-Add_to_collections-UnsupportedFileType
@@ -3023,7 +3029,7 @@ EXIT /B
30233029
:IMG-Add_to_collections-DuplicateChecks
30243030
for %%D in ("%CollectionsFolder%\%FileName%%FileType%") do (
30253031
if "%FileSize%"=="%%~zD" (
3026-
echo %TAB%%C_%🏞%ESC%%G_%%%~nxI%ESC% %G_%Already exist.%_%
3032+
echo %TAB%%C_%🏞%ESC%%G_%%%~nxI%ESC% %GG_%Already exist.%_%
30273033
EXIT /B
30283034
) else (
30293035
set "RenDupCount=0"
@@ -3935,7 +3941,7 @@ if /i "%setup_select%"=="2" (
39353941
echo %G_%Folder Icon Tools have been removed from the right-click menus.%_%
39363942
if /i "%Setup%"=="Deactivate" set "Setup=Deactivated"
39373943
)
3938-
if /i "%Setup%"=="Deactivated" %p5%&%p3%&exit
3944+
if /i "%Setup%"=="Deactivated" echo.&echo Press any key to close . . .&pause>nul&exit
39393945
goto options
39403946

39413947
:Setup_error

resources/custom_foldername.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if /i "%InputFolderName%"=="c" set "InitDir=%CollectionsFolder%"&call :fileselec
3232
if /i "%InputFolderName%"=="f" set "InitDir=%CollectionsFolder%"&goto colorpickers
3333

3434
if /i "%InputFolderName%"=="_0" (
35-
echo %G_%%I_% Skipped %_%
35+
echo %ESC%%YY_%%Foldername%%ESC%%_%
3636
echo set "custom-FolderName=No">>"%cfn1%"
3737
goto exit
3838
)
@@ -68,7 +68,7 @@ for /f "tokens=1-12 delims=," %%A in ("%ImageSupport%") do (
6868
set "fileFilter=Image Files (*.jpg, *.png, *.ico, ...)|%fileFilter%"
6969
set "OpenFileSelector=Add-Type -AssemblyName System.Windows.Forms; $f = New-Object System.Windows.Forms.OpenFileDialog; $f.InitialDirectory = '%InitDir%'; $fileDialog.RestoreDirectory = $true; $f.Filter = '%fileFilter%'; $f.ShowDialog() | Out-Null; $f.FileName; exit"
7070

71-
start /WAIT "" "%RCFI%\resources\File_Selector.bat"
71+
start /MIN /WAIT "" "%RCFI%\resources\File_Selector.bat"
7272

7373
for /f "usebackq tokens=* delims=" %%F in ("%SaveSelectedFile%") do set "SelectedFile=%%~fF"&set "FileName=%%~nxF"
7474
del /q "%SaveSelectedFile%" >nul
@@ -101,6 +101,7 @@ echo %W_% ► %G_%Enter the second folder name, or leave it empty to skip:
101101
set /p "InputFolderName2=%W_% %_%%C_% "
102102
if /i "%InputFolderName2%"=="o" set "InitDir=%cd%"&call :fileselector
103103
if /i "%InputFolderName2%"=="c" set "InitDir=%CollectionsFolder%"&call :fileselector
104+
if /i "%InputFolderName2%"=="f" set "InitDir=%CollectionsFolder%"&goto colorpickers
104105
type nul "%cfn2%"
105106
set InputFolderName2=%InputFolderName2:"=%
106107
if defined InputFolderName2 echo "%InputFolderName2%">>"%cfn2%"

templates/DualTab Vertical.bat

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ set LAYER-FOLDER-NAME-SHORT= ^
286286
%FolNamPos% ^
287287
-background none ^
288288
label:"%FolNamShort%" ^
289-
( +clone -background BLACK -shadow 10x2+0.6+0.6 ) +swap -background none -layers merge ^
290-
( +clone -background BLACK -shadow 10x2-0.6-0.6 ) +swap -background none -layers merge ^
291-
( +clone -background BLACK -shadow 10x2-0.6+0.6 ) +swap -background none -layers merge ^
292-
( +clone -background BLACK -shadow 10x2+0.6-0.6 ) +swap -background none -layers merge ^
289+
( +clone -background BLACK -shadow 00x2+0.6+0.6 ) +swap -background none -layers merge ^
290+
( +clone -background BLACK -shadow 00x2-0.6-0.6 ) +swap -background none -layers merge ^
291+
( +clone -background BLACK -shadow 00x2-0.6+0.6 ) +swap -background none -layers merge ^
292+
( +clone -background BLACK -shadow 00x2+0.6-0.6 ) +swap -background none -layers merge ^
293293
-rotate 90 ) -composite
294294

295295
if %FolNamShortCount% LEQ %FolNamShortLimit% exit /b
@@ -362,10 +362,10 @@ set LAYER-TAB2-LABEL= ^
362362
-geometry +207+88 ^
363363
-background none ^
364364
label:"%tab2-label%" ^
365-
( +clone -background BLACK -shadow 07x7.0+0.1-0.1 ) +swap -background none -layers merge ^
366-
( +clone -background BLACK -shadow 07x7.0-0.1-0.1 ) +swap -background none -layers merge ^
367-
( +clone -background BLACK -shadow 07x7.0-0.1+0.1 ) +swap -background none -layers merge ^
368-
( +clone -background BLACK -shadow 07x7.0+0.1-0.1 ) +swap -background none -layers merge ^
365+
( +clone -background BLACK -shadow 00x7.0+0.1-0.1 ) +swap -background none -layers merge ^
366+
( +clone -background BLACK -shadow 00x7.0-0.1-0.1 ) +swap -background none -layers merge ^
367+
( +clone -background BLACK -shadow 00x7.0-0.1+0.1 ) +swap -background none -layers merge ^
368+
( +clone -background BLACK -shadow 00x7.0+0.1-0.1 ) +swap -background none -layers merge ^
369369
-rotate 90 ) -composite
370370
exit /b
371371

templates/Windows 11 A.bat

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ set "FolderName-Center=Auto"
3535
:: yes = Always put folder name on the center
3636
:: No = Always put folder name on the left
3737

38-
set "FolderNameShort-characters-limit=8"
38+
set "FolderNameShort-characters-limit=7"
3939
set "FolderNameShort-font=Microsoft-PhagsPa-Bold"
4040
set "FolderNameShort-size=7.7"
4141

@@ -181,7 +181,7 @@ set LAYER-FRONT= ( ^
181181
-scale 498x320! ^
182182
-gravity Northwest ^
183183
-geometry +5+117 ^
184-
-brightness-contrast -6x10^
184+
-brightness-contrast -0x10^
185185
-modulate 94,100 ^
186186
%Picture-Opacity% "%Win11-Front-GradientShadow%" ) -compose over -composite
187187

@@ -352,10 +352,10 @@ set LAYER-FOLDER-NAME-SHORT= ^
352352
%FolNamPos% ^
353353
-background none ^
354354
label:"%FolNamShort%" ^
355-
( +clone -background BLACK -shadow 6x5+0.6+0.6 ) +swap -background none -layers merge ^
356-
( +clone -background BLACK -shadow 6x5-0.6-0.6 ) +swap -background none -layers merge ^
357-
( +clone -background BLACK -shadow 6x5-0.6+0.6 ) +swap -background none -layers merge ^
358-
( +clone -background BLACK -shadow 6x5+0.6-0.6 ) +swap -background none -layers merge ^
355+
( +clone -background BLACK -shadow 0x5+0.6+0.6 ) +swap -background none -layers merge ^
356+
( +clone -background BLACK -shadow 0x5-0.6-0.6 ) +swap -background none -layers merge ^
357+
( +clone -background BLACK -shadow 0x5-0.6+0.6 ) +swap -background none -layers merge ^
358+
( +clone -background BLACK -shadow 0x5+0.6-0.6 ) +swap -background none -layers merge ^
359359
) -composite
360360

361361
if %FolNamShortCount% LEQ %FolNamShortLimit% exit /b
@@ -370,10 +370,10 @@ set LAYER-FOLDER-NAME-LONG= ^
370370
-gravity %FolderNameLong-Pos-Direction% ^
371371
-geometry %FolderNameLong-Pos-X%%FolderNameLong-Pos-Y% ^
372372
label:"%FolNamLong%" ^
373-
( +clone -background BLACK -shadow 3x5+0.2+0.2 ) +swap -background none -layers merge ^
374-
( +clone -background BLACK -shadow 3x5-0.2-0.2 ) +swap -background none -layers merge ^
375-
( +clone -background BLACK -shadow 3x5-0.2+0.2 ) +swap -background none -layers merge ^
376-
( +clone -background BLACK -shadow 3x5+0.2-0.2 ) +swap -background none -layers merge ^
373+
( +clone -background BLACK -shadow 0x5+0.2+0.2 ) +swap -background none -layers merge ^
374+
( +clone -background BLACK -shadow 0x5-0.2-0.2 ) +swap -background none -layers merge ^
375+
( +clone -background BLACK -shadow 0x5-0.2+0.2 ) +swap -background none -layers merge ^
376+
( +clone -background BLACK -shadow 0x5+0.2-0.2 ) +swap -background none -layers merge ^
377377
) -composite
378378

379379
if "%FolderNameLong-characters-limit%"=="0" set "LAYER-FOLDER-NAME-LONG="

templates/Windows 11 Cover.bat

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set "FolderName-Center=Auto"
3333
:: yes = Always put folder name on the center
3434
:: No = Always put folder name on the left
3535

36-
set "FolderNameShort-characters-limit=8"
36+
set "FolderNameShort-characters-limit=7"
3737
set "FolderNameShort-font=Microsoft-PhagsPa-Bold"
3838
set "FolderNameShort-size=7.7"
3939

@@ -330,10 +330,10 @@ set LAYER-FOLDER-NAME-SHORT= ^
330330
%FolNamPos% ^
331331
-background none ^
332332
label:"%FolNamShort%" ^
333-
( +clone -background BLACK -shadow 6x1+0.3+0.3 ) +swap -background none -layers merge ^
334-
( +clone -background BLACK -shadow 6x1-0.3-0.3 ) +swap -background none -layers merge ^
335-
( +clone -background BLACK -shadow 6x1-0.3+0.3 ) +swap -background none -layers merge ^
336-
( +clone -background BLACK -shadow 6x1+0.3-0.3 ) +swap -background none -layers merge ^
333+
( +clone -background BLACK -shadow 0x1+0.3+0.3 ) +swap -background none -layers merge ^
334+
( +clone -background BLACK -shadow 0x1-0.3-0.3 ) +swap -background none -layers merge ^
335+
( +clone -background BLACK -shadow 0x1-0.3+0.3 ) +swap -background none -layers merge ^
336+
( +clone -background BLACK -shadow 0x1+0.3-0.3 ) +swap -background none -layers merge ^
337337
) -composite
338338

339339
if %FolNamShortCount% LEQ %FolNamShortLimit% exit /b
@@ -348,10 +348,10 @@ set LAYER-FOLDER-NAME-LONG= ^
348348
-gravity %FolderNameLong-Pos-Gravity% ^
349349
-geometry %FolderNameLong-Pos-X%%FolderNameLong-Pos-Y% ^
350350
label:"%FolNamLong%" ^
351-
( +clone -background BLACK -shadow 3x4.5+0.2+0.2 ) +swap -background none -layers merge ^
352-
( +clone -background BLACK -shadow 3x4.5-0.2-0.2 ) +swap -background none -layers merge ^
353-
( +clone -background BLACK -shadow 3x4.5-0.2+0.2 ) +swap -background none -layers merge ^
354-
( +clone -background BLACK -shadow 3x4.5+0.2-0.2 ) +swap -background none -layers merge ^
351+
( +clone -background BLACK -shadow 0x4.5+0.2+0.2 ) +swap -background none -layers merge ^
352+
( +clone -background BLACK -shadow 0x4.5-0.2-0.2 ) +swap -background none -layers merge ^
353+
( +clone -background BLACK -shadow 0x4.5-0.2+0.2 ) +swap -background none -layers merge ^
354+
( +clone -background BLACK -shadow 0x4.5+0.2-0.2 ) +swap -background none -layers merge ^
355355
) -composite
356356

357357
if "%FolderNameLong-characters-limit%"=="0" set "LAYER-FOLDER-NAME-LONG="

templates/Windows 11 Folderify.bat

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,10 @@ set LAYER-FOLDER-NAME-SHORT= ^
380380
%FolNamPos% ^
381381
-background none ^
382382
label:"%FolNamShort%" ^
383-
( +clone -background BLACK -shadow 6x1+0.3+0.3 ) +swap -background none -layers merge ^
384-
( +clone -background BLACK -shadow 6x1-0.3-0.3 ) +swap -background none -layers merge ^
385-
( +clone -background BLACK -shadow 6x1-0.3+0.3 ) +swap -background none -layers merge ^
386-
( +clone -background BLACK -shadow 6x1+0.3-0.3 ) +swap -background none -layers merge ^
383+
( +clone -background BLACK -shadow 0x1+0.3+0.3 ) +swap -background none -layers merge ^
384+
( +clone -background BLACK -shadow 0x1-0.3-0.3 ) +swap -background none -layers merge ^
385+
( +clone -background BLACK -shadow 0x1-0.3+0.3 ) +swap -background none -layers merge ^
386+
( +clone -background BLACK -shadow 0x1+0.3-0.3 ) +swap -background none -layers merge ^
387387
) -composite
388388

389389
if %FolNamShortCount% LEQ %FolNamShortLimit% exit /b
@@ -398,10 +398,10 @@ set LAYER-FOLDER-NAME-LONG= ^
398398
-gravity %FolderNameLong-Pos-Gravity% ^
399399
-geometry %FolderNameLong-Pos-X%%FolderNameLong-Pos-Y% ^
400400
label:"%FolNamLong%" ^
401-
( +clone -background BLACK -shadow 3x4.5+0.2+0.2 ) +swap -background none -layers merge ^
402-
( +clone -background BLACK -shadow 3x4.5-0.2-0.2 ) +swap -background none -layers merge ^
403-
( +clone -background BLACK -shadow 3x4.5-0.2+0.2 ) +swap -background none -layers merge ^
404-
( +clone -background BLACK -shadow 3x4.5+0.2-0.2 ) +swap -background none -layers merge ^
401+
( +clone -background BLACK -shadow 0x4.5+0.2+0.2 ) +swap -background none -layers merge ^
402+
( +clone -background BLACK -shadow 0x4.5-0.2-0.2 ) +swap -background none -layers merge ^
403+
( +clone -background BLACK -shadow 0x4.5-0.2+0.2 ) +swap -background none -layers merge ^
404+
( +clone -background BLACK -shadow 0x4.5+0.2-0.2 ) +swap -background none -layers merge ^
405405
) -composite
406406

407407
if "%FolderNameLong-characters-limit%"=="0" set "LAYER-FOLDER-NAME-LONG="

0 commit comments

Comments
 (0)