how can i store parameters from script A and use them in script B? - Script Writing - CHDK Forum  

how can i store parameters from script A and use them in script B?

  • 3 Replies
  • 3436 Views
Advertisements
Is there any option like that?

thanks.

Re: how can i store parameters from script A and use them in script B?
« Reply #1 on: 07 / February / 2014, 11:27:57 »
The parameters are stored in text files on the SD card.  The naming system is fairly obvious.  So I believe you should be able to rename files and get what you want?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: how can i store parameters from script A and use them in script B?
« Reply #2 on: 07 / February / 2014, 12:07:07 »
hm.... i will explain my self better , i running the command of get_near_limit() & get_far_limit()

i want to run the few times when the user decide .

then after he finish with this script to grab the info , i want to use the values that he "recored" few time with another script.


is there any option to do that?

thanks.

*

Offline srsa_4c

  • ******
  • 4451
Re: how can i store parameters from script A and use them in script B?
« Reply #3 on: 07 / February / 2014, 12:30:51 »
hm.... i will explain my self better , i running the command of get_near_limit() & get_far_limit()

i want to run the few times when the user decide .

then after he finish with this script to grab the info , i want to use the values that he "recored" few time with another script.

is there any option to do that?
I don't think there is. Unless someone else has a better idea, you could write and read files from Lua.

I found something, I link you the original post: http://chdk.setepontos.com/index.php?topic=10894.0
See the "iniLib" link there.


 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal