U44kV
1
@runmode:hide
"C:\Program Files\ImageMagick\ffmpeg.exe" -ss 0.5 -i "{filepath}" -vframes 1 -f image2 "{sourcepath}\thumbPrev.png"
Go REFRESH
the above code works but i was trying to create thumb at random time.. so i can chose the thumb.
am not able get this working.
@runmode:hide
set /a num=%random% %%100
"C:\Program Files\ImageMagick\ffmpeg.exe" -ss %num% -i "{filepath}" -vframes 1 -f image2 "{sourcepath}\thumbPrev.png"
Go REFRESH
Leo
2
Make sure the button type is set to MS-DOS Batch Function, and add a line with @externalonly at the top.
@externalonly will make it so the DOS set
command is run instead of the Opus one.
This will break the Go REFRESH
line, but you should not need that anyway.
1 Like
U44kV
3
Hi Leo Thank you
Changing MS-Dos Function and adding @externalonly
works.
sorry for delayed reply.
last few months have been crazy..
1 Like