SimpleUpdater — Rev. 10.69 / 2016/06/19

Discuss and share scripts and script files...
binocular222
Posts: 1419
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by binocular222 »

Ok, everything works fine now, thank you.
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

You're welcome :)
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.66 / 2013/04/24

Post by PeterH »

Marco wrote:
PeterH wrote:Sorry to be a bit OT, but isn't
< ("5400" * "1")
absolutely identical to
< 5400
but the latter seems to look "a bit more easy to read"?
Ah ah yes, originally it was "3600" * "1", i.e. numbers of second in one hour times one hour. Now it should be "3600" * "1.5".
admin wrote:Yes, and why quote numbers??? :veryconfused:
I quote everything, you never can tell...
:shock: You know the rule says that strings have to be quoted?
If you quote other things - you never can tell :lol:

Yes: an exception rule says that variables are allowed to be included in double quoted strings. ($x is same as "$x")
And another exception says that a string containing numbers is treated just as a number. ("77" is same as 77)
But I think it's strange to use these exceptions (or name them syntax expansions or so) by default.

And by the way: eventually what happens you can never tell :P just try:

Code: Select all

 msg 4*2;
 msg "4*2";
I can tell: it's not the same! 8) So don't "always quote" :naughty:

(Description: 4*2 is evaluated as an expression, "4*2" is just string of 3 characters.)

Edit: sorry to have continued OT :oops:

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

-in the ini file, clear the value LastModified
-still in the ini file, raise the Delay value to something high like 4000
-then run the attached script; once it goes in stepping mode, go to the variables and paste here the last one, i.e. $command
-click Continue; a dos window will pop up, close it after 4-5 seconds and tell me if it contains any error message
No error message, but the command runs extremely long... more than a minute. :shock: However, I reach internet in a very tricky way involving VPN for a while... I have just tried with another computer it doesn't work also. I think somehow this whole thing doesn't work behind proxy server, because on my home computer there isn't any problem.

binocular222
Posts: 1419
Joined: 04 Nov 2008 05:35
Location: Win11, Win10, 100% Scaling

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by binocular222 »

Me too, it doesn't work if internet is connected via proxy
I'm a casual coder using AHK language. All of my xys scripts:
http://www.xyplorer.com/xyfc/viewtopic. ... 243#p82488

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

LittleBiG wrote:
-in the ini file, clear the value LastModified
-still in the ini file, raise the Delay value to something high like 4000
-then run the attached script; once it goes in stepping mode, go to the variables and paste here the last one, i.e. $command
-click Continue; a dos window will pop up, close it after 4-5 seconds and tell me if it contains any error message
No error message, but the command runs extremely long... more than a minute. :shock: However, I reach internet in a very tricky way involving VPN for a while... I have just tried with another computer it doesn't work also. I think somehow this whole thing doesn't work behind proxy server, because on my home computer there isn't any problem.
binocular222 wrote:Me too, it doesn't work if internet is connected via proxy
So you're experiencing the same problem of Filehero ( http://www.xyplorer.com/xyfc/viewtopic. ... 016#p78016 )...
I'll add a line to the first post then, SU doesn't work behind proxies...
So, just to get it right, running

Code: Select all

 html("http://www.xyplorer.com/index.php");
from XY while behind a proxy does generate a blank page?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Marco wrote:So, just to get it right, running

Code:
html("http://www.xyplorer.com/index.php");

from XY while behind a proxy does generate a blank page?
No! It shows the webpage of XY correctly!

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

And this

Code: Select all

 text readurl("http://www.xyplorer.com/index.php");
?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Marco wrote:And this

Code: Select all

 text readurl("http://www.xyplorer.com/index.php");
?
Likewise!

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

And yet the script doesn't work?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Somehow the $time_there remains empty.

EDIT: After running the line: cmd /k C:\Windows\system32\cscript.exe //nologo "C:\Users\mynamehere\Downloads\XYplorer\Data\Scripts\SimpleUpdater\HTTP_checker.vbs" "http://www.xyplorer.com/download/xyplor ... nstall.zip" "Sun, 20 Jul 1969 08:17:40 GMT" "C:\Users\mynamehere\Downloads\XYplorer\Data\Scripts\SimpleUpdater\HTTP_response.txt" I only get an empty HTTP_response.txt. (after about 1 minute running.)

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

Have you tried raising the Delay value to an high value, like 4000?
Do you use a firewall? Are you using a slow computer?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Marco wrote:ve you tried raising the Delay value to an high value, like 4000?
Sure. 150000 was the biggest I tried. Not that cuases the problem.
Marco wrote:Do you use a firewall? Are you using a slow computer?
No. It is not a slow one. A complete McAffee Endpoint Protection is installed on it.

Isn't there any alternative solution getting info into http_response.txt apart from that vbs script?

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

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by Marco »

LittleBiG wrote:
Marco wrote:ve you tried raising the Delay value to an high value, like 4000?
Sure. 150000 was the biggest I tried. Not that cuases the problem.
Marco wrote:Do you use a firewall? Are you using a slow computer?
No. It is not a slow one. A complete McAffee Endpoint Protection is installed on it.

Isn't there any alternative solution getting info into http_response.txt apart from that vbs script?
I could rely on one of the many sites that analyze http headers, but
-what if such sites go down/close?
-network overhead and script running time increases
Are you sure that mcafee doesn't interfere with the vbs connecting to the internet? I know my CIS warns me if that vbs connects to the internet and writes a txt file, so I whitelisted it.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: SimpleUpdater - Rev. 10.66 / 2013/04/24

Post by LittleBiG »

Marco wrote:Are you sure that mcafee doesn't interfere with the vbs connecting to the internet? I know my CIS warns me if that vbs connects to the internet and writes a txt file, so I whitelisted it.
Yes, I am sure because the problem exists on my other, completely different computer. (Other network, other OS, other security solution)
EDIT: And it works with mobile stick.

Post Reply