| View previous topic :: View next topic |
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Tue May 01, 2007 8:45 pm Post subject: |
|
|
Here are the changes for v1.0.46.13:
Fixed hotkeys like *x to fire even when x is also a hotkey that is prevented from firing due to #IfWin. [thanks Joy2DWorld & Engunneer]
Improved optional parameters to accept quoted/literal strings as default values.
Improved ByRef parameters with the ability to be optional (i.e. they may accept default values). [thanks Corrupt] |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6308 Location: Pacific Northwest, US
|
Posted: Tue May 01, 2007 9:46 pm Post subject: |
|
|
Very nice! I had been working around this for a while now, but I have so far forgotten to ask for it. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2381
|
Posted: Tue May 01, 2007 11:52 pm Post subject: |
|
|
The improvements for optional params allow new possibilities... Thanks Chris  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed May 02, 2007 2:12 pm Post subject: |
|
|
| Today's v1.0.46.14 adds the "require administrator" flag to the installer to avoid a warning dialog on Windows Vista. [thanks Roussi Nikolov] |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5009 Location: imaginationland
|
Posted: Wed May 02, 2007 2:28 pm Post subject: |
|
|
It may just be me but the download links do not work, the installer shows an NSIS error message and the zip is 404 (incomplete uploads?). The ones on the autohotkey.net server are fine though (installer, zip). _________________
RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed May 02, 2007 2:53 pm Post subject: |
|
|
| Thanks; I've fixed it. Something must have gone wrong during the FTP upload. The automated procedure is supposed to verify that the remote file sizes are correct, but apparently that needs fixing too. |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Fri May 04, 2007 5:50 am Post subject: |
|
|
Thanks for the updates, Chris, they come just in time that I need them. :) _________________ Ciao
toralf  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5574
|
Posted: Sat May 05, 2007 11:54 am Post subject: |
|
|
| Chris wrote: | Here are the changes for v1.0.46.13:
...
Improved optional parameters to accept quoted/literal strings as default values.
Improved ByRef parameters with the ability to be optional (i.e. they may accept default values). [thanks Corrupt] |
Thanks Mr.Chris. Default values for ByRef params is useful to me.
 |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3592 Location: Belgrade
|
Posted: Sat May 05, 2007 1:24 pm Post subject: |
|
|
This is really great update. I missed those features every day. _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed May 09, 2007 1:31 pm Post subject: |
|
|
Here are the changes for v1.0.46.15:
Fixed GuiControl, GuiControlGet, and "Gui ListView/TreeView" to support static variables and ByRefs that point to globals/statics. [thanks Peter]
Fixed FileInstall causing the Random command to become non-random in compiled scripts. [thanks Velocity]
Reduced the size of compiled scripts by about 16 KB due to UPX 3.0. [thanks to atnbueno for discovering the optimal command-line switches] |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed May 30, 2007 1:23 pm Post subject: |
|
|
Here are the changes for v1.0.46.16:
Fixed "Gui, Tab, TabName" when used after a previous "Gui Tab". [thanks Toralf]
Improved SetTimer to treat negative periods as "run only once". [thanks Majkinetor]
Added "GuiControlGet Hwnd", which is a more modular/dynamic way to retrieve a control's HWND. [thanks Majkinetor]
Added built-in variables A_ThisLabel and A_ThisFunc, which contain the names of the currently-executing label/function. [thanks Titan & Majkinetor] |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Wed May 30, 2007 1:37 pm Post subject: |
|
|
Cool, I just upgraded, and I updated ahk1.properties to include the two new variables. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Wed May 30, 2007 2:01 pm Post subject: |
|
|
Thanks a lot for the update. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Wed May 30, 2007 2:10 pm Post subject: |
|
|
| For the next release, JGR has written the code to support built-in callbacks. I also hope to work on the mechanism for the standard library and a built-in Extract/InsertInteger. |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1247
|
Posted: Wed May 30, 2007 2:27 pm Post subject: |
|
|
| Chris wrote: | | For the next release, JGR has written the code to support built-in callbacks. I also hope to work on the mechanism for the standard library and a built-in Extract/InsertInteger. |
That's cool!
Could you tell us a bit more detail about it, I mean, how will it be implemented etc?
Personally I'm kinda expecting something like this:
| Code: | | pfn := Callback("function_name", "int", "int", "str") |
|
|
| Back to top |
|
 |
|