140 Edits since joining this wiki
June 30, 2012


Hi, welcome to CHDK Wiki! Thanks for your edit to the CHDK scripting page.

Please leave a message on my talk page if I can help with anything! -- Waterwingz (Talk) 19:02, June 30, 2012


I need to urgently contact an advanced user / developer of the CHDK for a paid project.

I kindly request that you contact me on: jmealla -at-

Thank you. 17:05, July 4, 2012 (UTC) Jorge

Reverted edit Edit

Hi, Thanks for all your contributions to the wiki. I reverted the edit on Lua/PTP Scripting because these functions are not specific to PTPCamGui. I thought rollback would let me enter reason, but it didn't so I'm leaving an explanation here. reyalp 20:01, July 7, 2012 (UTC)

PTP / Script pages Edit


The purpose of Lua/PTP Scripting is to describe Lua functions in the CHDK code on the camera which are specifically for scripts run over the PTP connection. Any client that can send Lua code can use them, it is not specific to chdkptp or ptpcamgui, and is definitely not run on the PC.

Regarding your edits on the PTP Extension page, I would prefer to have large chunks of code either on their own page, or linked to the original source. This page should be an overview, I think detailed information about specific clients or applications should be linked.

The perl scripts you've posted are quite useful, but I would suggest they should be on a separate page (not sure what it would be called, PTP Extension/Examples ?)

A couple of other notes on scripting from the PC:

  • In ptpcam, you can use luar to cause it to block until the script completes, even if you aren't actually returning a value. The is true in chdkptp. This would be safer than using a hard coded wait in your PC side script.
  • If you start ptpcam for every command, it will slow things down a lot because a connection has to be established each time. It can also cause the device to get reset a bunch if there are other programs on the PC that would try to automatically interact with it. If you start ptpcam once and pipe your input to it, things will run a lot quicker.

Thanks again for your contributions, none of the above is intended as a flame.

reyalp 00:38, July 9, 2012 (UTC)

Around Wikia's network

Random Wiki