;-----------------------------------------------------------------------
; Written by Chris Breeze, www.breezesys.com
;-----------------------------------------------------------------------
MediumFocusSteps = 0 ; set this to 0 to focus in small steps
NumberOfImagesInSequence = 10
if %0% > 0 and %1% > 1
{
NumberOfImagesInSequence = %1%
}
; First check DSLR Remote Pro is running and a camera is connected
IfWinExist, DSLR Remote Pro
{
IfWinExist, DSLR Remote Pro for Windows - Connected to
{
WinActivate, DSLR Remote Pro
}
else
{
MsgBox, 48, Stacking AutoHotkey Script, DSLR Remote Pro is not connected to a camera
ExitApp
}
}
else
{
MsgBox, 48, Stacking AutoHotkey Script, DSLR Remote Pro is not running
ExitApp
}
; Turn on live view (this will fail if the camera doesn't support live view)
Sleep 1000
IfWinNotExist, Live View:
{
Send ^l
Sleep 2000
}
IfWinNotExist, Live View:
{
MsgBox, 48, Stacking AutoHotkey Script, Unable to select live view
ExitApp
}
; make sure live view window has input focus
WinActivate, Live View:
Sleep 250
; Move focus point closest to Camera
Send +{Left}
Sleep 250
Send +{Left}
Sleep 250
Send +{Left}
Sleep 250
Send +{Left}
Sleep 250
; Take a series of pictures and adjust the focus after each shot
Loop, %NumberOfImagesInSequence%
{
WinActivate, Live View:
Send {F8}
Sleep 3000 ; give DSLR Remote Pro time to take the picture and download
if MediumFocusSteps > 0
{
; focus farther away in medium steps
Send +{Right}
}
else
{
; focus farther away in small steps
Send ^{Right 8}
}
}
2010-05-12 01:26:22,328::Shooting::INFO::Shutter cycle
2010-05-12 01:26:22,328::Shooting::DEBUG::Shooting.start(): bracket #1 of 3
2010-05-12 01:26:22,328::Main::DEBUG::ShootController.__onShootingSequence(): sequence=shutter
2010-05-12 01:26:22,328::Shooting::DEBUG::DslrRemoteProShutter.shoot(): bracketNumber=1
2010-05-12 01:26:22,328::Shooting::DEBUG::DslrRemoteProShutter.shoot(): exposure compensation=-2
2010-05-12 01:26:22,328::Shooting::DEBUG::DslrRemoteProShutter.shoot(): shoot command 'C:/Program Files/BreezeSys/DSLR Remote Pro/DSLRRemoteTest/DSLRRemoteTest.exe -x 12 -o E:/Papywizard'...
2010-05-12 01:26:22,467::Shooting::ERROR::DslrRemoteProShutter.shoot(): stderr:
Error setting exposure compensation, error: 3
2010-05-12 01:26:22,467::Shooting::WARNING::DslrRemoteProShutter.shoot(): shoot command failed (retcode=1). Retrying...
C:\Documents and Settings\Mark.Anderson>"C:/Program Files/BreezeSys/DSLR Remote
Pro/DSLRRemoteTest/DSLRRemoteTest.exe" -x 8 -o e:/papywizard/
Error setting exposure compensation, error: 3
2010-05-12 20:26:26,062::Shooting::DEBUG::DslrRemoteProShutter.shoot(): shoot command 'C:/Program Files/BreezeSys/DSLR Remote Pro/DSLRRemoteTest/DSLRRemoteTest.vbs -x 6 -o E:/Papywizard'...
2010-05-12 20:26:26,062::Shooting::EXCEPTION::Shooting.start()
Traceback (most recent call last):
File "papywizard\model\shooting.pyo", line 596, in start
File "papywizard\plugins\dslrRemoteProPlugins.pyo", line 195, in shoot
File "subprocess.pyo", line 594, in __init__
File "subprocess.pyo", line 816, in _execute_child
WindowsError: [Error 193] %1 is not a valid Win32 application
2010-05-12 20:26:26,062::Shooting::ERROR::Shoot process failed
2010-05-12 20:26:26,062::Main::DEBUG::ShootController.__onShootingStopped(): status=fail
Anyone know what scale exposure compensation is in in DSLRRemote? Is it full stops, half stops, 1/3 stops? how do I specify positive/negative exposure compensation.
fma38 wrote:It seems that your vb script is not executed; you will have to call the vb application, giving the script as input file.
//-----------------------------------------------------------------------
// SetExposureCompensation()
// Inputs:
// comp Exposure compensation, numbered from 0 in the same
// order as the exposure compensation dropdown list.
//
// Returns:
// 0 - Success
// 1 - DSLR Remote is not running
// 2 - DSLR Remote is running but camera is not connected
// 3 - Camera is busy
// 4 - Some other error
//-----------------------------------------------------------------------
mark_anderson_us wrote:hi andrew
xp sp3
latest pw and dslremote 2.1.19 and 1.9
fma38 wrote:No, DSLR Remote Pro does not allow to go over Canon/Nikon limitations, because of the limitation of the Canon/Nikon SDK...
Users browsing this forum: No registered users and 2 guests