Hi, I am very new to CHDK. I am using a Canon PowerShot S100 and am capable of downloading images from the camera via the USB through PtpCamGui.
I've looked at the lptpgui.lua file and have somewhat of an understanding as to how the files are copied over to the computer.
My only task is this: I want to be able to run the ptpcam file from the command menu, and copy the files from the SD card to a hard-coded (in .lua) directory.
Could someone please point me to the line in the lptpgui.lua script where I can hard-code the path? I think it is being passed as a parameter now. I am guessing that it is this line that needs to be modified:
hfile:write(path .. "/" .. "|" .. fd[i] .. "|" .. os.date("%Y%m%d%H%M%S", stat.mtime) .. "\n")
I just don't know how it needs to be modified.
Thank you!