Re: hotkey setting

"valery_vi" <[email protected]>
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Try this:

#include <GUIConstants.au3>
HotKeySet("t", "ShowMessage1")
HotKeySet("T", "ShowMessage2")
GUICreate("Hotkey t", 300, 300)
GUISetState ()
While 1
 $msg = GUIGetMsg()
 if $msg = $GUI_EVENT_CLOSE then ExitLoop
WEnd
Func ShowMessage1()
    MsgBox(4096,"","This is a letter 't'.")
EndFunc
Func ShowMessage2()
    MsgBox(4096,"","This is a letter 'T'.")
EndFunc

Hotkey 't' or 'T' works for me. 

Valery

--- In [email protected], Simon Jaeger <simonjaeger@...> wrote:
>
> hello,
> 
> for some reason the t hotkey will not set in autoit. Does anyone have 
any idea why this is?
> 
> Thanks,
> 
> Simon
> 
> 
> [Non-text portions of this message have been removed]
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.