Add Create-Clip.ps1 and Create-Clip.cmd wrapper scripts for automated clip creation with -Source and -Frames parameters, auto-generating target filenames with "-Clip" suffix before extension, and add 1920x1076 resolution support to Crop-ClipsKling.ps1 while removing verbose input logging

This commit is contained in:
2026-08-15 16:31:45 -04:00
parent 85ab88adeb
commit 1f3615c7b4
3 changed files with 82 additions and 6 deletions
+17
View File
@@ -0,0 +1,17 @@
@echo off
for /f "delims=" %%i in ('where Create-Clip.ps1 2^>nul') do set "_script=%%i" & goto :found
echo Error: Create-Clip.ps1 not found in PATH
exit /b 1
:found
set "_src=%~1"
set "_frames=%~2"
shift
shift
set "_rest="
:loop
if "%~1"=="" goto done
set "_rest=%_rest% %1"
shift
goto loop
:done
pwsh.exe -NoProfile -ExecutionPolicy Bypass -File "%_script%" -Source "%_src%" -Frames "%_frames%"%_rest%