AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Fri May 13, 2005 9:33 pm    Post subject: v1.0.33 released: Call DLL functions and the Window API Reply with quote

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
View user's profile Send private message Send e-mail
Guest






PostPosted: Fri May 13, 2005 11:13 pm    Post subject: Reply with quote

Cool! Thanks Ultra and Chris!
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Sat May 14, 2005 2:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Sat May 14, 2005 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
corrupt



Joined: 29 Dec 2004
Posts: 2328

PostPosted: Sat May 14, 2005 4:47 am    Post subject: Reply with quote

Thanks Exclamation Exclamation Very Happy Very Happy

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... Sad
Back to top
View user's profile Send private message Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1715

PostPosted: Sat May 14, 2005 8:06 am    Post subject: Reply with quote

just got to know! d/ling now....congratuations and thanx!
_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Tue May 17, 2005 11:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Wed May 18, 2005 7:42 am    Post subject: Reply with quote

Chris,
thanks for the Gui, Margin
And many thanks for AHK in general. This program really rocks.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10450

PostPosted: Wed May 25, 2005 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
AHKnow



Joined: 03 Jul 2004
Posts: 118

PostPosted: Thu Jun 16, 2005 4:03 am    Post subject: Reply with quote

YES.... YES.... YES!!!!!!!!!!!!

Very Happy

Finally...

AutoHotkey for life!!!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group