Search the Community
Showing results for tags 'keys'.
-
Hi AutoIt Programmers!, I just looking for a way to change entered keys in English to Russian keys and reverse, i must clear for you to understand. For example: I write keys on keyboard and i forgot to change input language and then the result will be: Dkflbvbh (Thing we write in fact) ====> Владимир (Thing we want) And reverse: Владимир ====> Dkflbvbh Is there any solution without writing constant for each words? for example dlls or WinAPIs.
-
Hi, The FAQ proposed as a solution to keys getting stuck to do this command ControlSend("", "", "", "text", 0) However this sends "text" to the last active control if I am not mistaken.I have tried this with controlsend("", "", "", "{altup}{shiftup}{ctrlup}", 0) This is already a lot better but still fails 1/10 I cannot allow the script to send "text" to the last active control, and its a bit silly to let it send to somewhere where its harmless no? Are there any other methods of unstucking keys?
-
hi dears, i have an question please if you can help me. i maked an program to do some functions and this program works with the global hot keys i added an option to the users to change the hot keys when i searched about how to do that i found this UDF GUIHotkey.au3 http://www.autoitscript.com/forum/index.php?showtopic=107965 but the problem here that this UDF cant be detect the win key. can you help me to add it, or if there are any others UDFSS wich do that work please give me some. i hope that my question is clear for you. thanks in advance
-
i found this script by melba23 and its exactly what i wanted > link #include <Misc.au3> #include <MsgBoxConstants.au3> Local $hDLL = DllOpen("user32.dll") HotKeySet("{q}","_Start") ; Fire HotKey on q key HotKeySet("{ESC}", "_Exit") While 1 Sleep(10) WEnd Func _Start () ; Look for w key If _IsPressed("57", $hDLL) Then ; Only action if BOTH pressed MsgBox($MB_SYSTEMMODAL, "", "Got it") EndIf EndFunc Func _Exit() DllClose($hDLL) Exit EndFunc if im not wrong, if i hold q key first and then press w key, then the output will be messagebox that says "got it" but when i tested it, it doesnt do anything. but if i reverse the order, hold w key first, and then press q key, it works. now i dont know why is this happen, or is this how this script supposed to do? or there's something wrong? thank you.
-
Hi I am looking for examples of AutoIt using sendkeys. What I would like to use is from an Excel VBA to call the AutoIt.exe file and then take a value from Excel (say cell D4 text 'abc') and sendkeys to an app (the only other open application). Could be Word, Notepad, Arduino monitor, etc. any and only 1 of which will be open. Where would I find such examples ?
-
I'm trying to add a user shortcut key to display the calltip for the word I'm on, but nothing works. Here's what I did: I added these lines: # User defined key commands user.shortcuts=\ Alt+F1|IDM_SHOWCALLTIP\ Ctrl+Shift+V|IDM_PASTEANDDOWN|\ Ctrl+PageUp|IDM_PREVFILE|\ Ctrl+PageDown|IDM_NEXTFILE|\ KeypadPlus|IDM_EXPAND|\ KeypadMinus|IDM_BLOCK_COMMENT|\ Ctrl+F1|IDM_HELP_SCITE| to these files: C:\Users\<username>\SciTEUser.properties C:\Users\<username>\SciTEGlobal.properties C:\Program Files\AutoIt3\SciTE\SciTEUser.properties C:\Program Files\AutoIt3\SciTE\SciTEGlobal.properties When I restart the editor and try again, the Alt+F1 doesn't do anything. I've tried other shortcut key combinations (Ctrl+B, etc.), but none of them worked. I've searched this forum, and I Googled it, but none of the suggestions worked. Is there something else I need to change?
-
Okay, I'm guessing after a while my posts are becoming annoying so I'll try to make this my last question. I've been trying to guess how to make a sequence of actions in a timed difference for example "(action of num key 1) 0.5 second delay from (action of num key 2)" again to try to simplify 1, (0.5 secs) 2 (1.0 secs) 3 (1.5 secs) [1,2,3 being the keys on the keyboard]. so basically i have no idea how to do this but it'd be interesting to mess about with and fiddle with so, anyone know?