@echo off REM REM Rename file from dragon_script.bat.txt to dragon_script.bat REM REM In Dragon Stop Motion, go to the Advanced tab of Preferences REM and choose this file for Action Script. REM REM Example script showing input arguments REM arguments should be obvious, except "Action" REM which can be "POSITION", "SHOOT", "DELETE", or "CC". REM REM "POSITION" is sent whenever Dragon moves to a new frame. REM This is probably what you want to use. After shooting REM frame 10, when Dragon is ready to capture frame 11, it REM sends "POSITION 11". REM REM "SHOOT" happens immediately before shooting. REM REM "DELETE" happens immediately before deleting. REM REM "CC" is capture complete. There is an additional argument, REM the file name of the main downloaded image. echo Dragon Stop Motion Script echo Production : %1 echo Scene : %2 echo Take : %3 echo Action : %4 echo Frame : %5 echo Exposure : %6 echo Exposure Name : %7 echo Image Path : %8 if "%4" == "POSITION" ( echo Move to frame %5 >> %HOMEPATH%\dragon_script_log.txt ) if "%4" == "CC" ( echo New image %5-%6 -> %8 >> %HOMEPATH%\dragon_script_log.txt )