need help for lua files - Script Writing - CHDK Forum

need help for lua files

  • 1 Replies
  • 1600 Views
need help for lua files
« on: 09 / July / 2019, 16:27:50 »
Advertisements
hi everybody. I am new here. I have a problem that there are lots of script codes shared here but ı really have no idea how to transform those codes into lua or bas files. Thx for everything

Re: need help for lua files
« Reply #1 on: 09 / July / 2019, 17:38:03 »
hi everybody. I am new here. I have a problem that there are lots of script codes shared here but ı really have no idea how to transform those codes into lua or bas files.
Cut & paste the text into an editor like Notepad,  save as a file with either a .lua or .bas extension as needed  ( i.e. test123.lua  or test321.bas), and then transfer the file to the SCRIPTS folder on your SD card.   Launch CHDK, go to the Scripts menu, load the file, and press the shutter button fully to run it.

If you are just looking at code fragements, you will probably need to add a header to the file.   There is a lot of information about CHDK scripting here :  CHDK Scripting Cross Reference Page
« Last Edit: 09 / July / 2019, 17:39:56 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal