Jump to content
wakillon

AutoIt&SciTEUpdater v1.0.2.1 Update of 2 Sept 2015

Recommended Posts

wakillon

AutoIt&SciTEUpdater v1.0.2.1.au3

 

201406021914401.jpg
 

External files are included in script.

If UAC Enable, Run as Admin the first time.

Previous downloads : 611

SourceAutoItAndSciTEUpdater v1.0.2.1.au3

ExecutableAutoIt&SciTEUpdater.exe

 

For never miss AutoIt (Release/Beta) and SciTE4AutoIt3 updates. ;)

Edited by wakillon
  • Like 2

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Venix

This is cool, good work. :D

Share this post


Link to post
Share on other sites
SeF

Very nice!

Does it work with AutoIt Portable?


Share this post


Link to post
Share on other sites
wakillon

This is cool, good work. Posted Image

Thanks Venix

Very nice!

Does it work with AutoIt Portable?

Thanks, and no it's only for "classic" Release and Beta versions. :D


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
BrewManNH
I noticed that there's a problem with the update.dat file on the downloads website for AutoIt, it says that the latest beta version is 3.3.9.4, while 3.3.9.5 is actually the latest version. This exposed a bug in your version checking, as you look to see if the latest version is <> the version installed on the computer. I would think you'd want to check to see if the installed version is less than the latest, but if it's greater than the "latest" that could be ok, as update.dat may not be updated in a timely manner.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
BrewManNH

@BrewManNH

http://www.autoitscript.com/autoit3/files/beta/autoit/

Does not contain an 3.3.9.5 setup only a SFX

So? There is a 3.3.9.5 version, the update.dat file only shows 3.3.9.4, I have 3.3.9.5 version, this script tells me there's an "update" to a newer version using an older version number, that's the bug.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
wakillon

I noticed that there's a problem with the update.dat file on the downloads website for AutoIt, it says that the latest beta version is 3.3.9.4, while 3.3.9.5 is actually the latest version. This exposed a bug in your version checking, as you look to see if the latest version is <> the version installed on the computer. I would think you'd want to check to see if the installed version is less than the latest, but if it's greater than the "latest" that could be ok, as update.dat may not be updated in a timely manner.

It' s right, my comparison of the versions is not good because the update.dat file doesn't refer to any 3.3.9.5 Beta.

Thanks, it's taken into consideration ! :D

@wakillon

Nice script, check my toolbar image in my signature

Thanks, I'm not very fond of toolbars to add to my browsers, but have tried yours and it works well !

As my script it forget the 3.3.9.5 Beta version :huh:


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Emiel Wieldraaijer

@BrewManNH

Version 3.3.9.5 isn't released yet, they are still adding features and fixes, i don't know why the added 3.3.9.5 to the beta sectio

See - http://www.autoitscript.com/forum/forum/1-announcements-and-site-news/ 3.3.9.4 is the last one

@Wakillon

I don't like toolbars myself but it allows me to enter all the section a lot faster.

Scite information is not part of the toolbar yet, if you don't mind i'm going to use your code to display the information

Edited by Emiel Wieldraaijer

Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites
wakillon

I don't like toolbars myself but it allows me to enter all the section a lot faster.

Scite information is not part of the toolbar yet, if you don't mind i'm going to use your code to display the information

No problem ! :D

For information, script is adapted if one day scite4autoit3version.ini file becomes like this :

[sciTE4AutoIt3]

date=6/10/2012

version=3.2.0.0

setup=http://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe

But by default i use Dates Comparison...

And for your Toolbar you need to open your browser !

My script can be added ( only compiled ) to windows start ! :huh:

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Emiel Wieldraaijer

And for your Toolbar you need to open your browser !

My script can be added ( only compiled ) to windows start ! :huh:

You can start a browser on Windows start and do not need to compile anything :D

but the Toolbar does not compare like your program does, your program is more compleet


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites
Skitty

Didn't valik say version 3.3.9.5 is an alpha version? Used only to give us a sort of sneak peak at what's coming?


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
wakillon

You can start a browser on Windows start and do not need to compile anything :D

but the Toolbar does not compare like your program does, your program is more compleet

Imagine a toolbar for each soft you want last updates... :)

Your web browser will be a bit cluttered...

Script prompt you for download and silently install last updates without effort :huh:


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
BrewManNH

@BrewManNH

Version 3.3.9.5 isn't released yet, they are still adding features and fixes, i don't know why the added 3.3.9.5 to the beta sectio

See - http://www.autoitscript.com/forum/forum/1-announcements-and-site-news/ 3.3.9.4 is the last one

Once again, so what? You're missing the point completely. 3.3.9.4 is an older version number than 3.3.9.5, you don't "UPgrade" to a lower version, you "DOWNgrade" to it. Whether or not the version is officially released or not is completely irrelevant to my comment about this script, the relevant part was that it was treating newer versions, officially released or not, as being older than what is available for download, when clearly it is not. Please stop telling me which version is officially released, I don't care because I'm well aware of it.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
wakillon

@BrewManNH

As you suggested i update script with a different versions comparison. :D

  • Like 1

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites
Emiel Wieldraaijer

@BrewManNH

No i'm not missing the point, 3.3.9.5 is not a beta release.

Program checks for release and beta. Works perfect.


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites
Skitty

The version in question is not suitable for public crash testing, which is what a beta release

is usually intended for and which is why the developers who handle field testing using the beta

releases intentionally did not add it to their beacon at

http://www.autoitscript.com/autoit3/files/beta/update.dat

So it does exist in the public pool as an alpha beta, but it was not released for use in their field testing

since it was only thrown out there to show us a few features they're adding.

So in that context I would go as far as to say it is correctly a beta, in alpha status. I would assume when they

are using the term "Alpha" to describe the beta, where "Alpha" usually means something like top order, they are

describing it as being in a volatile high order of beta status, where a few things are very new and probably have just been

implemented from concept, not fully assured the file may not incidentally backfire and spin your hard drive

so fast that it explodes and embeds some shrapnel in your chine.

As for incorrect version comparing, does it really matter? The statement checks for a change in the string

where any difference would trigger an update be it a lower or higher version, the thing is, will the

developers ever add a lower version number that would cause scripts/apps like this one to incidentally

downgrade to a lower AutoIt version and frustrate a user or screw with people who did sloppy version comparing?


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
Skitty

Should've said knee?

Shin actually, what the hell is chine? :alien:


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
BrewManNH

Alpha and Beta are actually the first 2 letters of the Greek alphabet, hence an Alpha release is the preliminary version, beta is the follow up version, they don't usually go past the Beta before they start calling them Release Candidates, or even just go straight from Beta to release.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • gahhon
      By gahhon
      Hi,
      I have a program that is read data from the .txt file, since the .txt file is only readable, viewable and editable for the admin user.
      But how could I lock it with password, or some other technique that can helps to achieve this?
      Thanks for the advanced information.
    • gahhon
      By gahhon
      Hi,
      How can I the trigger the another button functions without waiting the previous function to finish execute?
      Any advise?
      I couldn't find any relevant topics via google.
      Thanks a lot.
    • SharpDressedMan
      By SharpDressedMan
      Hi all,
      I need to use ControlMove() on some controls of a hidden GUI window.
      This works properly on a GUI window created with default style, but does not work on a GUI window created with style $WS_OVERLAPPEDWINDOW
      func GUItest($bOverlapped) $m = GUICreate("test", 200, 100, -1, -1, $bOverlapped ? $WS_OVERLAPPEDWINDOW : -1) $g = GUICtrlCreateButton("test", 0, 0) ControlMove($m, "", $g, 30, 30) GUISetState() endfunc GuiTest(false) ; button 'test' properly moved to (30,30) GuiTest(true) ; button 'test' not moved and still sitting at (0,0) Any reason for this unexpected behavior ?
      Any workaround to fix this ?
      Thanks for any help
    • 2Toes
      By 2Toes
      Hi all..
      I'm having slight issue that has be a bit puzzled.
      I have an Input control.. After a certain function runs, it Disables that Input control, and sets it to ReadOnly.
      When running another certain function, it re-Enables that Input control, and sets the style back to Default.
      Which does work, however, when typing into the Input control after re-Enabling it, the text appears as a light gray color, rather than its original black color.
      I'm sure there's a simple solution here.. But what that is, appears to be beyond me.
      Here is a simplified example code:
      #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= Global $Form1 = GUICreate("Form1", 245, 215, 192, 124) Global $disableBTN = GUICtrlCreateButton("Disable", 32, 64, 75, 25) Global $enableBTN = GUICtrlCreateButton("Enable", 128, 64, 75, 25) Global $Input1 = GUICtrlCreateInput("", 32, 120, 169, 21) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $disableBTN disable() Case $enableBTN enable() EndSwitch WEnd Func disable() GUICtrlSetState($Input1, $GUI_DISABLE) GUICtrlSetStyle($Input1, $ES_READONLY) EndFunc Func enable() GUICtrlSetState($Input1, $GUI_ENABLE) GUICtrlSetStyle($Input1, $GUI_SS_DEFAULT_INPUT) EndFunc  
      Any help would be greatly appreciated
      Thank you in advance!
    • jantograaf
      By jantograaf
      Hi all,
      I'm trying to create a script that runs a JSON-query and then can retrieve some variables out of the returned, decoded object using JSON.au3. I have tried some other examples on this forum, but I'm stuck at one point. My query works perfectly and gets loaded into the variable $data. Then, decoding $data to $object seems to work as well. But then I can't get the date-field out of this JSON-structure with my script.
      The JSON-structure returned looks like this:
      { "content": [ { "id": "451ec583-8f27-4926-82a3-a2d85e57a110", "createdDate": "2018-08-08T08:40:57.449004Z", "updatedDate": "2018-08-08T08:40:57.449004Z", "lastOpenedDate": "2018-08-08T08:40:57.449004Z", "date": "2018-04-26T00:00:00", "description": "X-Ray Exam", "patient": { "id": "f857238a-c75d-4760-b8d1-8f50f8f9bbfa", "createdDate": "2018-08-08T08:40:37.623976Z", "updatedDate": "2018-08-08T08:40:37.623976Z", "lastOpenedDate": "2018-08-08T08:40:37.623976Z", "name": "Fuerstonia", "birthDate": "2014-06-08", "breed": "", "chip": "", "color": "", "damsire": "", "sire": "", "neutered": false, "orthancUuid": "", "sex": "U", "species": "Paard", "ueln": "De 431310762114", "pmsReference": "", "origin": "" }, "type": "study", "accessionNumber": "KME201806960467", "instanceUid": null, "orthancUuid": "", "sent": false, "seriesCount": 0, "modalityType": "RX", "typeAndModality": "study RX", "client": { "id": "be627195-8458-4927-8446-f1ef37b917a4", "createdDate": "2018-08-08T08:40:31.433968Z", "updatedDate": "2018-08-08T08:40:31.433968Z", "lastOpenedDate": "2018-08-08T09:26:49.512298Z", "via": "", "extraInfo": "", "pmsReference": "", "contact": { "id": "406cc555-c491-4c29-b6bb-8d903f0e35a9", "createdDate": "2018-08-08T08:40:31.428968Z", "updatedDate": "2018-08-08T08:40:31.428968Z", "lastName": "Client 1", "firstName": "", "company": "", "email": "", "language": "nl", "phone": "", "address": { "id": "6fc7703c-137a-4e0a-ba96-8c7f38f2044b", "city": "", "country": "", "line": "", "postalCode": "" } } } }, My script looks like this:
      #RequireAdmin #include <json.au3> #include <inet.au3> #include <File.au3> ;Create a handle to a logfile (will be created if it doesnt exist) Global $logfile = FileOpen("C:\VSOL\VSTK\Logs\MigrationFix\MigrationFix.log",9) FileWriteLine($logfile,"Start script") ;Create the URL with the JSON-query $URL = "http://localhost:8080/v0/studies/?seriesCount=1" ;Catch the query output into a variable $data = _INetGetSource($URL) ;Check if there is any data at all in this variable, if not, exit If Not $data Then MsgBox(1,"Error","No answer. Server is probably not running.") Exit EndIf ;For debugging purposes FileWriteLine($logfile,$data) ;Decode the JSON_string into a useable object $object = Json_Decode($data,1000) If @error Then FileWriteLine($logfile,"Error decoding JSON") Exit EndIf Local $i = 0 ;Start a loop to retrieve the study date of each study... While 1 $study_date = json_get($object,'[' & $i & '].date') If @error Then FileWriteLine($logfile,"Study-Date retrieval error") ExitLoop EndIf $i = $i + 1 WEnd ;Close the logfile FileWriteLine($logfile,"Stop script") FileClose($logfile) ;Open the logfile for quick reference ShellExecute("C:\VSOL\VSTK\Logs\MigrationFix\MigrationFix.log") If believe it has something to do with my json_get($object...)-command. Anyone who can point me in the right direction?
      Thanks in advance!
      Kind regards
×