| View previous topic :: View next topic |
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Fri May 13, 2005 9:33 pm Post subject: v1.0.33 released: Call DLL functions and the Window API |
|
|
Here are the changes for v1.0.33:
Fixed IfMsgBox to be able to detect a timeout for a MsgBox that contains only an OK button. [thanks Mats]
Added function VarSetCapacity(), which enlarges or shrinks a variable.
Added function DllCall(), which calls a function inside a DLL. [code by Marcus Sonntag (Ultra)]
http://www.autohotkey.com/download/
Thanks to Ultra for designing, coding, and testing DllCall. |
|
| Back to top |
|
 |
Guest
|
Posted: Fri May 13, 2005 11:13 pm Post subject: |
|
|
| Cool! Thanks Ultra and Chris! |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3005 Location: Minnesota
|
Posted: Sat May 14, 2005 2:22 am Post subject: |
|
|
| I see that the new features have started to come, reskinned in function form. Can we expect an overhaul someday, in which they are all converted? (Assuming there would be a benefit other than consistency, of course) |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Sat May 14, 2005 3:12 am Post subject: |
|
|
DllCall seemed to fit more naturally into the function-style syntax because functions support an unlimited number of parameters (commands are more limited).
Even so, it's a fairly high priority to provide a function counterpart for every command that currently accepts an OutputVar (assuming it can be done in a way that doesn't bloat the code). For example, GetKeyState, IfExist, and the various Transform sub-commands such as Round and Asc are high priorities to convert.
And someday, there may be a v2.0 of the program if there is enough demand and perceived benefit. That would be an opportunity to start fresh using the syntax and conventions that have the broadest appeal to the user community, as determined by design discussions, polls, etc. |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2328
|
Posted: Sat May 14, 2005 4:47 am Post subject: |
|
|
Thanks
Now, if only I wasn't stuck on a Mandrake Linux machine while I try and recover an XP box due to a HD crash...  |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1715
|
Posted: Sat May 14, 2005 8:06 am Post subject: |
|
|
just got to know! d/ling now....congratuations and thanx! _________________
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Tue May 17, 2005 11:03 pm Post subject: |
|
|
Here are the changes for v1.0.33.01:
Fixed sporadic inability of GuiControl to change the default button or a button's style. Also fixed a possible crash when GuiControl established a default button when there's wasn't one previously. [thanks hanspeter]
Improved DllCall so that arg types that don't contain an asterisk/space don't need to be enclosed in quotes.
Added command Gui Margin to override a window's default margin.
http://www.autohotkey.com/download/ |
|
| Back to top |
|
 |
toralf
Joined: 31 Jan 2005 Posts: 3842 Location: Bremen, Germany
|
Posted: Wed May 18, 2005 7:42 am Post subject: |
|
|
Chris,
thanks for the Gui, Margin
And many thanks for AHK in general. This program really rocks. _________________ Ciao
toralf  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10450
|
Posted: Wed May 25, 2005 7:53 pm Post subject: |
|
|
Here are the changes for v1.0.34 (although some new functions were added, this is a relatively minor release, which is why I didn't start a new topic for it):
Fixed the Suspend and Hotkey commands' inability to disable joystick hotkeys, as well as the inability to enable them in the auto-execute section. [thanks matt911]
Fixed "Transform Deref" to support a built-in or environment variable that isn't directly referenced elsewhere in the script. [thanks toralf]
Fixed inability to launch the program in Windows 95/NT systems that lack MSIE 3 or later.
Fixed ListLines, which sometimes terminated the listing prematurely.
Fixed multi-line Edit controls so that pressing Escape in them does not close a non-GuiEscape window. [thanks Rajat]
Fixed the hotkeys #LAlt and #RAlt to prevent appearance of the Start Menu. [thanks Dmitry Lyudmirsky]
Fixed GuiControl so that reloading a picture control inside a tab control redraws properly. [thanks hanspeter]
Fixed VarSetCapacity() when called inside an expression.
Improved DllCall so that the "A" suffix on something like MessageBoxA can be omitted even when the DLL name is explicitly specified. In addition, the letter P may be used in place of * so that the quotes can be omitted around all types. [thanks Jerry]
Added floor division operator "//" for high performance integer division.
Added built-in functions Abs, ACos, Asc, ASin, ATan, Ceil, Chr, Exp, FileExist, Floor, GetKeyState, InStr, Ln, Log, Mod, Round, Sin, Sqrt, and StrLen. |
|
| Back to top |
|
 |
AHKnow
Joined: 03 Jul 2004 Posts: 118
|
Posted: Thu Jun 16, 2005 4:03 am Post subject: |
|
|
YES.... YES.... YES!!!!!!!!!!!!
Finally...
AutoHotkey for life!!!!! |
|
| Back to top |
|
 |
|