SimpleUpdater — Rev. 10.69 / 2016/06/19

Discuss and share scripts and script files...
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

klownboy
Posts: 4400
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post by Marco »

Releasing 10.50 for testing.
First script ever to support multilingual support :biggrin: 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 :wink:
Attachments
SimpleUpdater_REFERENCE.lng
(3.59 KiB) Downloaded 156 times
SimpleUpdater.lng
Italian language
(3.75 KiB) Downloaded 169 times
SimpleUpdater.xys
(46.95 KiB) Downloaded 168 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Borut
Posts: 1466
Joined: 19 Oct 2010 19:29
Location: Win10 Pro 64b 22H2, @120DPI (125%)

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post by Borut »

SimpleUpdater_Croatian.lng
Croatian language
(4.07 KiB) Downloaded 162 times
:P
Win 10 Pro 64bit

admin
Site Admin
Posts: 65098
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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"; 

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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 :D
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post by Marco »

Borut wrote:
SimpleUpdater_Croatian.lng
:P
Thank you!
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

klownboy
Posts: 4400
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.7171 at 100% 2560x1440

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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 :shock: :D
Thanks a lot :appl:

And +1 for klownboys request to allow "unset" for a list of variables.

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 65098
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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"; 

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post by Marco »

:appl:
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: SimpleUpdater - Rev. 10.40 / 2012/12/17

Post 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;

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.50 / 2013/02/18

Post by Marco »

Rev. 10.50 is out!
Read the first post and the changelog for more info.
Last edited by Marco on 18 Feb 2013 11:34, edited 1 time in total.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: SimpleUpdater - Rev. 10.50 / 2013/02/18

Post by Marco »

ENG.png
ENG.png (3.41 KiB) Viewed 4019 times
ITA.png
ITA.png (3.47 KiB) Viewed 4019 times
HRV.png
HRV.png (3.74 KiB) Viewed 4005 times
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Post Reply