Quote from PaulJonestindall on March 17, 2020, 3:21 pmDoes anyone know of a plugin to deal with .INI files? hpwUtility 2.45 has some useful actions but perhaps there's a plugin with a few more features?
Does anyone know of a plugin to deal with .INI files? hpwUtility 2.45 has some useful actions but perhaps there's a plugin with a few more features?
Quote from Gaev on March 17, 2020, 7:11 pm@pauljonestindall
hpwUtility 2.45 has some useful actions but perhaps there's a plugin with a few more features?
Perhaps you can elaborate by listing ...
a) which features of hpwUtility you still need
b) which features are missing that you would like to see
hpwUtility 2.45 has some useful actions but perhaps there's a plugin with a few more features?
Perhaps you can elaborate by listing ...
a) which features of hpwUtility you still need
b) which features are missing that you would like to see
Quote from PaulJonestindall on March 17, 2020, 7:49 pm@gaev
Hello. Well, hpwUtility has three Read functions. One is to read a value from its key in its section. Ok, fair enough. The other two, one reads all of the section names to a variable and the other reads all of the keys in a section to a variable, both with a [#13] delimiter. However, what I could really use is a function to read all the key values to a variable for use in a ListBox.
Hello. Well, hpwUtility has three Read functions. One is to read a value from its key in its section. Ok, fair enough. The other two, one reads all of the section names to a variable and the other reads all of the keys in a section to a variable, both with a [#13] delimiter. However, what I could really use is a function to read all the key values to a variable for use in a ListBox.

Quote from Vadim on March 17, 2020, 8:40 pm@pauljonestindall
To work with ini-files, these plugins can also be used:
NeoDouble 1.0.6 (David Esperalta)
RacAutoIt3x 1.0 (Roman Avalos Castillo)
To work with ini-files, these plugins can also be used:
NeoDouble 1.0.6 (David Esperalta)
RacAutoIt3x 1.0 (Roman Avalos Castillo)
Quote from Gaev on March 17, 2020, 8:47 pm@pauljonestindall
What I could really use is a function to read all the key values to a variable.
Did you mean ...
a) "all the key names" (i.e. not the assigned values of the key names) ?
b) in "a specified section" (not "all sections", as there could be duplicate key names within several sections) ?
for use in a ListBox
hpwUtility - reads all of the keys in a section to a variableIf you agree with my understanding of (a) and (b), then will hpwUtility not give you this ? (f.y.i. you can specify a [variable] as the value for property List Items for a ListBox or ComboBox) ... unless, when the user chooses an item, you want to somehow link it back to its value.
If I misunderstood, please elaborate.
What I could really use is a function to read all the key values to a variable.
Did you mean ...
a) "all the key names" (i.e. not the assigned values of the key names) ?
b) in "a specified section" (not "all sections", as there could be duplicate key names within several sections) ?
for use in a ListBox
hpwUtility - reads all of the keys in a section to a variable
If you agree with my understanding of (a) and (b), then will hpwUtility not give you this ? (f.y.i. you can specify a [variable] as the value for property List Items for a ListBox or ComboBox) ... unless, when the user chooses an item, you want to somehow link it back to its value.
If I misunderstood, please elaborate.

Quote from HPW on March 17, 2020, 8:49 pmHello,
With a few lines of neoscript you should be able to do what you want.
The commands should allow you to iterate through all ini-vars.
The format you want to show in your listbox is your special need and not something genreric for every other user.
Regards
Hans-Peter
Hello,
With a few lines of neoscript you should be able to do what you want.
The commands should allow you to iterate through all ini-vars.
The format you want to show in your listbox is your special need and not something genreric for every other user.
Regards
Hans-Peter
Quote from PaulJonestindall on March 18, 2020, 3:28 pm@gaev
a) No. The value of all keys is what I need in a variable.
b) Yes. One specific section.Here's the idea: I have to temporarily keep track of various diameter sized strands of cables (i.e. 3/8", 1/2", 9/16"). Each size strand has a certain quantity (i.e. twelve 3/8" cables and seven 1/2" cables). All strands will have a different length and their length will be measured at different times.
So, my INI file would look like this:
[CableSizes]
3/8Count=12
1/2Count=7
[3/8Elong]
Strand-01=13.375
Strand-02=13.125
Strand-03=13.5
Strand-04=13.5
Strand-05=13.375
Strand-06=13.125
Strand-07=13.125
Strand-08=13.5
Strand-09=13.375
Strand-10=13.375
Strand-11=13.375
Strand-12=13.5
[1/2Elong]
Strand-01=4.375
Strand-02=4.125
Strand-03=4.5
Strand-04=4.5
Strand-05=4.375
Strand-06=4.125
Strand-07=4.125
Reading all of the keys values for one section, all at one time would be ideal.
@hpw
Yes, I've written some code and I can Loop through the keys. I'm still working out my UI and thinking this through.
Thank you all for your feedback.
a) No. The value of all keys is what I need in a variable.
b) Yes. One specific section.
Here's the idea: I have to temporarily keep track of various diameter sized strands of cables (i.e. 3/8", 1/2", 9/16"). Each size strand has a certain quantity (i.e. twelve 3/8" cables and seven 1/2" cables). All strands will have a different length and their length will be measured at different times.
So, my INI file would look like this:
[CableSizes]
3/8Count=12
1/2Count=7
[3/8Elong]
Strand-01=13.375
Strand-02=13.125
Strand-03=13.5
Strand-04=13.5
Strand-05=13.375
Strand-06=13.125
Strand-07=13.125
Strand-08=13.5
Strand-09=13.375
Strand-10=13.375
Strand-11=13.375
Strand-12=13.5
[1/2Elong]
Strand-01=4.375
Strand-02=4.125
Strand-03=4.5
Strand-04=4.5
Strand-05=4.375
Strand-06=4.125
Strand-07=4.125
Reading all of the keys values for one section, all at one time would be ideal.
Yes, I've written some code and I can Loop through the keys. I'm still working out my UI and thinking this through.
Thank you all for your feedback.
Quote from Gaev on March 18, 2020, 3:47 pm@pauljonestindall
Thanks for the descriptive response.
Yes, I've written some code and I can Loop through the keys.
You are 90% there.
I'm still working out my UI and thinking this through.
Say, the variable specified for the property List Items for your ListBox is [diaSizes] ...
a) Before you loop through the keys, clear the contents of this variable ...
SetVar "[diaSizes]" ""b) with each iteration of the loop ...
- obtain the value of the key of the current iteration ... say it is received in [thisDiaSize]
- append [thisDiaSize] to [diaSizes] with [#13] as a separatorSetVar "[diaSizes]" "[diaSizes][#13][thisDiaSize]"Voila !!!
@pauljonestindall
Thanks for the descriptive response.
Yes, I've written some code and I can Loop through the keys.
You are 90% there.
I'm still working out my UI and thinking this through.
Say, the variable specified for the property List Items for your ListBox is [diaSizes] ...
a) Before you loop through the keys, clear the contents of this variable ...
SetVar "[diaSizes]" ""
b) with each iteration of the loop ...
- obtain the value of the key of the current iteration ... say it is received in [thisDiaSize]
- append [thisDiaSize] to [diaSizes] with [#13] as a separator
SetVar "[diaSizes]" "[diaSizes][#13][thisDiaSize]"
Voila !!!
Quote from PaulJonestindall on March 18, 2020, 4:16 pm@vadim
Do you know if there is an English version of NeoDouble? It looks like there are altogether quite a few useful features.
Do you know if there is an English version of NeoDouble? It looks like there are altogether quite a few useful features.

Quote from Vadim on March 18, 2020, 5:20 pm@pauljonestindall
Unfortunately, I have only the Russian version.
It is possible that someone here has an English version.
Unfortunately, I have only the Russian version.
It is possible that someone here has an English version.

Quote from dglojnar on March 19, 2020, 9:56 amHere it is, NeoDouble 1.0.6,last known version...
Freeware
Cheers:-)
Here it is, NeoDouble 1.0.6,last known version...
Freeware
Cheers:-)
Uploaded files: