Hi! I was looking through some previous topics: [Func] Self script updater (https://autohotkey.com/board/topic/7255 ... t-updater/) and Very Simple Auto-Update to Push New Script Versions (https://autohotkey.com/board/topic/2987 ... -versions/)
but they both are not functioning correctly (if at all). I was wondering if anyone had any solutions or alternative methods that aren't so dated.
Thanks.
Script auto updater
Re: Script auto updater
This came in yesterday, https://autohotkey.com/boards/viewtopic.php?f=6&t=23917
Haven't tried it though.
Good luck.
Haven't tried it though.
Good luck.
Re: Script auto updater
I don't understand(?) where's the code?
Spoiler
Re: Script auto updater
The code is here. Seems like the script does a UrlDownloadToFile and extracts a copy of autohotkey.exe embedded in the file and then it runs the copy of ahk.exe, passing it the downloaded file. I don't see the point of that. But as I said, I didn't try it. You should ask the author in relevant thread.
Re: Script auto updater
I guess i'm too much of a noob to understand the 200 lines
nvm thx
nvm thx
Re: Script auto updater
It is only about 60 lines if you ignore the large static strings.
According to the author it is fairly easy to use.
According to the author it is fairly easy to use.
Osi wrote:First you have to upload your script on the internet.
Second, you can download the autolauncher.ahk file. And you just have to change the url by your url.byurlscript := "http://url"After, you can create an executable and distributing to your users. When you change the script which has uploaded, the users can have the updates.urlscript := "http://your_url_that_contains_ur_script"
Please excuse my spelling I am dyslexic.
Re: Script auto updater
Yeah, but I wouldn't run that code, I don't know what executable is really embedded there. It says "autohotkey.exe", but could just as well be something else.
Re: Script auto updater
True, hadn't thought about it, in the few posts he have made he doesn't seem nefarious though.Helgef wrote:Yeah, but I wouldn't run that code, I don't know what executable is really embedded there. It says "autohotkey.exe", but could just as well be something else.
Please excuse my spelling I am dyslexic.
Re: Script auto updater
I'm sure he isn't, I made a comment about this in his thread.
Re: Script auto updater
Awesome, I knew to trust my gut but disregarded the obvious 150 lines of gibberish. Now time to get hunting for whatever is installed
Re: Script auto updater
Hello, i reply about the script.
The script includes an executable directly in the script (it's the autohotkey.exe file).
With this file you dont have to install autohotkey to execute a script.
You can do the same thing with the following function to downloading the file everything from internet:
It's for that reason that i add the dll directly into the script.
The script includes an executable directly in the script (it's the autohotkey.exe file).
With this file you dont have to install autohotkey to execute a script.
You can do the same thing with the following function to downloading the file everything from internet:
But, i wanted to have a file which is always available.UrlDownloadToFile, URL, Filename
It's for that reason that i add the dll directly into the script.
Thank u,
Osi,
Osi,
Who is online
Users browsing this forum: No registered users and 172 guests