Guest User

run minicap recursively in the postrun section

a guest
Sep 14th, 2014
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SetWorkingDir, %A_ScriptDir%
  2. minicap = C:\Programs\DonationCoder\MiniCap\MiniCap.exe
  3. sspath  = %A_ScriptDir%
  4. sspaththumb = %A_ScriptDir%\thumbnails
  5.  
  6. F12::
  7. IfExist, %minicap%
  8. {
  9. Run, %minicap% -capturescreen -save "%sspath%\$dt:`%Y-`%m-`%d$_00$uniquenum0$.jpg" -capsound -closeapp -exit -postrun "%minicap% -save "%sspaththumb%\$file$" -resizex 200 -closeapp -exit"
  10. }
  11. Return
Advertisement
Add Comment
Please, Sign In to add comment