Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

v1.0.33 released: Call DLL functions and the Window API


  • Please log in to reply
9 replies to this topic
Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
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.

  • Guests
  • Last active:
  • Joined: --
Cool! Thanks Ultra and Chris!

jonny
  • Members
  • 2951 posts
  • Last active: Feb 24 2008 04:22 AM
  • Joined: 13 Nov 2004
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)

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
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.

corrupt
  • Members
  • 2558 posts
  • Last active: Nov 01 2014 03:23 PM
  • Joined: 29 Dec 2004
Thanks :!: :!: :D :D

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... :(

Rajat
  • Members
  • 1904 posts
  • Last active: Jul 17 2015 07:45 AM
  • Joined: 28 Mar 2004
just got to know! d/ling now....congratuations and thanx!

MIA

CleanNews.in : Bite sized latest news headlines from India with zero bloat


Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
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/

toralf
  • Moderators
  • 4035 posts
  • Last active: Aug 20 2014 04:23 PM
  • Joined: 31 Jan 2005
Chris,
thanks for the Gui, Margin
And many thanks for AHK in general. This program really rocks.
Ciao
toralf
 
I use the latest AHK version (1.1.15+)
Please ask questions in forum on ahkscript.org. Why?
For online reference please use these Docs.

Chris
  • Administrators
  • 10727 posts
  • Last active:
  • Joined: 02 Mar 2004
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.

AHKnow
  • Members
  • 121 posts
  • Last active: May 17 2009 09:11 PM
  • Joined: 03 Jul 2004
YES.... YES.... YES!!!!!!!!!!!!

:D

Finally...

AutoHotkey for life!!!!!