Simple question - page 2 - Script Writing - CHDK Forum

Simple question

  • 11 Replies
  • 2507 Views
Re: Simple question
« Reply #10 on: 19 / March / 2013, 16:43:06 »
Advertisements
Is there an way to write files in CHDK? I just want to put the info somewhere on the SD card
I tried the default lua way but that doesn't seem to work.......
http://chdk.wikia.com/wiki/CHDK_scripting#print_screen

You might also want to bookmark this :

http://chdk.wikia.com/wiki/CHDK_Scripting_Cross_Reference_Page

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 12444
Re: Simple question
« Reply #11 on: 19 / March / 2013, 23:38:20 »
I tried the default lua way but that doesn't seem to work.......
The standard Lua io functions should work fine, aside from the differences mentioned at http://chdk.wikia.com/wiki/Lua#Differences_from_standard_lua_iolib. If they don't, there is something wrong with the port or you are doing something wrong. You can use the llibtst.lua script in the test directory to verify that these functions are working correctly.
Don't forget what the H stands for.

 

Related Topics