How get name of the last shot - Script Writing - CHDK Forum

How get name of the last shot

  • 2 Replies
  • 2564 Views
How get name of the last shot
« on: 29 / August / 2013, 10:58:42 »
Advertisements
I have script lua which take photos quickly and I would like print in LOGS the name of the shot!
Actually I have:
shot :  1
shot  : 2
shot  : 3
....

For example I would like:
shot : IMG00100
shot : IMG00102
shot : IMG00103
....


Re: How get name of the last shot
« Reply #1 on: 29 / August / 2013, 11:03:47 »
In Lua :

Code: [Select]
print(string.format('shot : IMG_%04d.JPG',get_exp_count()))
Ported :   A1200    SD940   G10    Powershot N    G16

Re: How get name of the last shot
« Reply #2 on: 29 / August / 2013, 11:10:13 »
thanks you're genius!!

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal