| View previous topic :: View next topic |
| Author |
Message |
deleyd
Joined: 08 Mar 2008 Posts: 64 Location: Santa Barbara
|
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Thu Aug 27, 2009 2:20 am Post subject: |
|
|
um seriosly no effort to look in the help file first
| Code: | | msgbox % "my ahk version: " A_AhkVersion |
_________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
deleyd
Joined: 08 Mar 2008 Posts: 64 Location: Santa Barbara
|
Posted: Thu Aug 27, 2009 2:38 am Post subject: |
|
|
Thank you! I was unsuccessfully trying all sorts of things at the Command Prompt: | Code: | > autohotkey -version
> autohotkey -v
> autohotkey /?
|
Then thought about asking, but thought, "No, I'm a guy. Guys never ask. I can figure this out."
Then tried searching the AutoHotkey Command List page (commands.htm) for "version".
Decided it would be easier to ask. _________________ http://www.autohotkey.net/~deleyd/xprxmp/autohotkey_expression_examples.htm |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 8255 Location: Maywood, IL
|
Posted: Thu Aug 27, 2009 3:09 pm Post subject: |
|
|
the main page of the help file also has a version number. This assumes you update the help when you update the exe. You'd have to try to not update them at the same time, though. _________________
(Common Answers) |
|
| Back to top |
|
 |
deleyd
Joined: 08 Mar 2008 Posts: 64 Location: Santa Barbara
|
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 3700 Location: Louisville KY USA
|
Posted: Thu Aug 27, 2009 6:59 pm Post subject: |
|
|
um seriously.... OH MY
1 mouse clicks from there and your answer is visible
| your link wrote: | | Variables and Expressions: Explains how to: 1) create and use variables; 2) use expressions for math and string operations; and 3) use built-in variables. See Functions for how to define functions, pass parameters to them, and receive return values from them. |
| Built-in Variables wrote: | | A_AhkVersion In versions prior to 1.0.22, this variable is blank. Otherwise, it contains the version of AutoHotkey that is running the script, such as 1.0.22. In the case of a compiled script, the version that was originally used to compile it is reported. The formatting of the version number allows a script to check whether A_AhkVersion is greater than some minimum version number with > or >= as in this example: if A_AhkVersion >= 1.0.25.07 |
I find its helpfull to read all the commands and documentation when i learn any language even tho for 99% of what i do its pointless..... nevermind your right why bother  _________________
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed; |
|
| Back to top |
|
 |
deleyd
Joined: 08 Mar 2008 Posts: 64 Location: Santa Barbara
|
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5043 Location: the tunnel(?=light)
|
|
| Back to top |
|
 |
|