Replacing AHK exe app without installing
Replacing AHK exe app without installing
i have installed the latest version of AHK on one of my computers (computer No. 1). on another computer (computer No. 2) i have the older version installed. can i just copy the core .exe app from computer No. 1 and replace it with the older version on computer No. 2 without uninstalling the older version and installing the latest version of AHK on computer No. 2?
-
- Posts: 44
- Joined: 30 Sep 2013, 07:29
Re: Replacing AHK exe app without installing
I think so, but you would probably want to copy the compiler as well.
Re: Replacing AHK exe app without installing
thanks, replaced only apps and compiler files (1.1.09 >> 1.1.13) -- so far working good!
Re: Replacing AHK exe app without installing
How can i know what version of Autohotkey I have installed?
Thanks!
Thanks!
Everything is possible!
-
- Posts: 44
- Joined: 30 Sep 2013, 07:29
Re: Replacing AHK exe app without installing
Run this code.
MsgBox % A_AHKVersion
MsgBox % A_AHKVersion
Re: Replacing AHK exe app without installing
Is it normal I get the number 1.1.11.01?
A question, % var is equivalent to %var%?
A question, % var is equivalent to %var%?
Everything is possible!
Re: Replacing AHK exe app without installing
now when i run this i get 1.1.13.00RijulAhuja wrote:Run this code.
MsgBox % A_AHKVersion
-
- Posts: 44
- Joined: 30 Sep 2013, 07:29
Re: Replacing AHK exe app without installing
No, the latest version is 1.1.13.01. You can get it from this direct link.empardopo wrote:Is it normal I get the number 1.1.11.01?
Also, I suggest you implement a check for the latest version in your master script, by calling this function from its auto execute section.
Code: Select all
CheckAHKLatest()
{
;requires internet access
URLDownloadToFile, http://l.autohotkey.net/version.txt, % A_Temp "\version.txt"
FileRead, LatestVersion, % A_Temp "\version.txt"
If (A_AhkVersion<LatestVersion)
MsgBox, Please update your AHK.`n`nInstalled version`n%A_AhkVersion%`n`nLatest version`n%LatestVersion%
FileDelete, % A_Temp "\version.txt"
return
}
No. %, that is, percent followed by a space, forces expression mode, while %var% finds the value stored in var.empardopo wrote:A question, % var is equivalent to %var%?
-
- Posts: 44
- Joined: 30 Sep 2013, 07:29
Re: Replacing AHK exe app without installing
The latest version is now 1.1.13.01Guest10 wrote:now when i run this i get 1.1.13.00RijulAhuja wrote:Run this code.
MsgBox % A_AHKVersion
Re: Replacing AHK exe app without installing
Why avoid installing? The installer also updates the help file.
Re: Replacing AHK exe app without installing
i forgot to mention that i also replaced the help file.
lexikos wrote:Why avoid installing? The installer also updates the help file.
Re: Replacing AHK exe app without installing
it's an expression (RijulAhuja already said)empardopo wrote:A question, % var is equivalent to %var%?
Read this if you're interested further:
http://www.autohotkey.com/docs/Variable ... xpressions
"Nothing is quieter than a loaded gun." - Heinrich Heine
Re: Replacing AHK exe app without installing
Thanks for your info.
Greetings!
Greetings!
Everything is possible!
-
- Posts: 44
- Joined: 30 Sep 2013, 07:29
Re: Replacing AHK exe app without installing
Thanks, I forgot about that. So, is installing the same as extracting, setting up file associations, and adding stuff to the right click menu ?lexikos wrote:Why avoid installing? The installer also updates the help file.
Re: Replacing AHK exe app without installing
how about updating the registry. does it do that?