d4rk Posted May 11, 2008 Posted May 11, 2008 First of all, HotKeySet doesn't work as SEND() so : HotKeySet("A","_A") Second, you'll need to press Shift + a (for the Upper Case) as you show [a # A] [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
d4rk Posted May 11, 2008 Posted May 11, 2008 Not working ? can you post your code here ? did you stick it with a FUNC ? this's exactly what works for me while 1 HotKeySet("1","_A");also for A WEnd func _A() MsgBox(64,"","") EndFunc [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
ProgAndy Posted May 11, 2008 Posted May 11, 2008 Working: HotKeySet("A","_A") HotKeySet("a","__a") HotKeySet("1","_1") HotKeySet("{NUMPAD1}","__1") While 1 Sleep(1000) WEnd Func _A() MsgBox(0, '', "A") EndFunc Func __a() MsgBox(0, '', "a") EndFunc Func _1() MsgBox(0, '', "1") EndFunc Func __1() MsgBox(0, '', "NUMPAD 1") EndFunc *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
martin Posted May 11, 2008 Posted May 11, 2008 (edited) Not working...And what about the numbers?@drk From the help for HotKeySendkey The key combination to use as the hotkey. Same format as Send().@ InfoCan you post some example code that doesn't work? I can't see what the problem is; letters and number work fine.EDIT: as ProgAndy's example. Edited May 11, 2008 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
d4rk Posted May 11, 2008 Posted May 11, 2008 uhm ... yes HotKeySet doesn't work as SEND()i just meant something like this Send("{Delete}") Hotkeyset("Delete","_del") [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Info Posted May 11, 2008 Author Posted May 11, 2008 (edited) My Script: HotKeySet("{A}","_A") Func _A() MsgBox(0,"","") EndFunc While 1 WEnd Edited May 11, 2008 by Info
d4rk Posted May 11, 2008 Posted May 11, 2008 Didn't you even look at post ? Hotkeyset("a","_a") not Hotkeyset("{a}") [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Info Posted May 11, 2008 Author Posted May 11, 2008 Actually I did look at your post, but didn't notice that... Anyway, thank you all
Info Posted May 11, 2008 Author Posted May 11, 2008 Another question... When I'm pressing on the hotkeys in notepad or anything else, it just doesn't show the letters... Solution?
d4rk Posted May 11, 2008 Posted May 11, 2008 yes, with a trick like this While 1 HotKeySet("a","_a") WEnd Func _a() MsgBox(0,"","") Send("a") EndFunc [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys
Info Posted May 11, 2008 Author Posted May 11, 2008 Is there another trick? It's on a game with a GameGuard so Send() could be a bot so the GameGuard blocks it...
ProgAndy Posted May 11, 2008 Posted May 11, 2008 HotKeySet("a","_a") While 1 Sleep(1000) WEnd Func _a() HotKeySet("a") Send("a") HotKeySet("a","_a") EndFunc *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now