Page 8 of 21
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 15 Feb 2013 20:00
by Marco
Makes sense, the chm file is open and you get a message from Windows that such file is opened and locked. I don't know if checking the status of each file that's going to be updated is worth...
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 15 Feb 2013 20:22
by klownboy
XYplorer.chm though is probably the key file that would be open that someone may not realize or remember is open whereas most other files associated with XY would be closed since you probably wouldn't be running a copy operation or some other script in the background. Not an issue anyway, I only wanted to follow-up and put the issue to bed.
Thanks,
Ken
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 10:53
by Marco
Releasing 10.50 for testing.
First script ever to support multilingual support

And now configuration file is created upon request even on first run.
Open beta, requires XY 12.10.0001 or greater. Put language file in <xyscripts> folder. As usual, read the comments

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 11:36
by Borut
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 13:50
by admin
Seeing these scripts inspired me to a little improvement:
Code: Select all
+ Scripting: SCs perm and global now can declare one or more
variables and set them in one statement. For example:
perm $a = "a", $b = "b"; echo "$a, $b";
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 14:02
by Marco
admin wrote:Seeing these scripts inspired me to a little improvement:
Code: Select all
+ Scripting: SCs perm and global now can declare one or more
variables and set them in one statement. For example:
perm $a = "a", $b = "b"; echo "$a, $b";
Add also set (ok, rarely used) and unset (more useful). For simmetry

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 14:03
by Marco
Borut wrote:SimpleUpdater_Croatian.lng

Thank you!
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 14:04
by klownboy
Thanks Don. Not a big deal, but it would also clean up the code quite a lot if we could "unset" multi perms without repeating unset. Marco used unset 13 times in "_Terminate" for Simple Updater v10.50.
Ken
Edit: Marco beat me to it.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 14:29
by PeterH
admin wrote:Seeing these scripts inspired me to a little improvement:
Code: Select all
+ Scripting: SCs perm and global now can declare one or more
variables and set them in one statement. For example:
perm $a = "a", $b = "b"; echo "$a, $b";
Hey: you fulfilled I wish I didn't even ask for
Thanks a lot
And +1 for klownboys request to allow "unset" for a
list of variables.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 15:04
by Marco
Just a little personal note: unset is the command that would benefit the most from this addition.
I use perm/global strictly paired with set, because it fits my logic better (conceptually one line per variable), so I would still use perm/global multiple times. But a batch unset is definitely welcome for me.
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 15:12
by admin
Marco wrote:Just a little personal note: unset is the command that would benefit the most from this addition.
I use perm/global strictly paired with set, because it fits my logic better (conceptually one line per variable), so I would still use perm/global multiple times. But a batch unset is definitely welcome for me.
I added that unset thing.
Concerning perm/global: For me the main advantage of the next version is this:
Code: Select all
OLD: perm $strC; $strC = "Kućna strana";
NEW: perm $strC = "Kućna strana";
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 15:19
by Marco
Re: SimpleUpdater - Rev. 10.40 / 2012/12/17
Posted: 16 Feb 2013 15:33
by PeterH
admin wrote:Marco wrote:Just a little personal note: unset is the command that would benefit the most from this addition.
I use perm/global strictly paired with set, because it fits my logic better (conceptually one line per variable), so I would still use perm/global multiple times. But a batch unset is definitely welcome for me.
I added that unset thing.
Concerning perm/global: For me the main advantage of the next version is this:
Code: Select all
OLD: perm $strC; $strC = "Kućna strana";
NEW: perm $strC = "Kućna strana";
To your old: and new: exactly!
For unset an "old:" example:
Code: Select all
"_UnSetDB"
UnSet $_DB_script; UnSet $_DB;
UnSet $_DB_cnt; UnSet $_DB_list; UnSet $_DB_tab;
UnSet $_DB_p; UnSet $_DB_p2;
UnSet $_DB_file;
Re: SimpleUpdater - Rev. 10.50 / 2013/02/18
Posted: 18 Feb 2013 11:16
by Marco
Rev. 10.50 is out!
Read the first post and the changelog for more info.
Re: SimpleUpdater - Rev. 10.50 / 2013/02/18
Posted: 04 Mar 2013 09:26
by Marco

- ENG.png (3.41 KiB) Viewed 4014 times

- ITA.png (3.47 KiB) Viewed 4014 times

- HRV.png (3.74 KiB) Viewed 4000 times