Does ptpCamGui need CHDK PTP to support commands not in the current (not-DE) trunk ? And if so, then can the CHDK_GUI be modified to not require the DE version of CHDK ?
I've tested the current trunk (rev1053) and the GUI work fine for the a720.
You need a CHDK version with activeted PTP support (camera.h) and ptpCamGui & ptpcam.exe in the same directory. Of course, the ptp-addresses must be available for the used camera.
Execute ptpCamGui. Upon successful connection between the camera and the GUI, you can see the following message in the output window: [** init() successful]
The GUI send to the camera only ptpcam.exe commands (incl. lua & luar).
[luar get_mode() << false] means PLAY mode
[luar get_mode() << true] means RECORD mode
In PTP mode the camera keys are locked. You must switch PLAY->RECORD->PLAY. This unlocked the keys in PLAY mode.
All GUI-buttons send lua commands, e.g. [MENU]
lua click('menu')By activating MD the SHOOT-button send not
shoot, but
lua md_detect_motion(). This is a simple motion detection test.
In the GUI file menu you can find the item "Copy to Camera". Select a CHDK relevant file. *.bas and *.lua files are copied to A/CHDK/SCRIPTS. *.bin and *.fi2/*.fir are copied to A/. Here is the ptpcam.exe command '
upload' used.
Every command can be also entered directly into the input line. Use (') and not (") for strings.
msl