Jump to content

Search the Community

Showing results for tags 'hotkeyset'.

  • Search By Tags

    • hotkeyset ×
    Type tags separated by commas.
  • Search By Author

Content Type



Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


  1. When I hold a key down I need it to fire a function which will run until I release the key. I tried using _IsPressed which works, but it continues sending the actual key I'm holding down which is no good. To prevent the key being sent I used HotKeySet. However, when I hold down the key set...
  2. Hey all, I know this code has been attempted before as a GUI app, and it would not copy text properly. Here is an updated version of the Google Search Shortcut Script from: Google Search Shortcut Script #Region #AutoIt3Wrapper_Outfile=shortcuts.exe #EndRegion #include <Clipboard.au3> Opt(...
  3. Right now the script will exit immediately if I don't pause it somehow (obvious of course). I was curious on people's opinions of how they do it or what option they prefer below? Thanks Option 1 (I prefer) #include <MsgBoxConstants.au3> HotKeySet('^!p', SomeFunc) ProcessWaitClose(@A...
  4. Dear developers and creators of the language, please explain to me why when pressing the combination Crtl + Shift + C from the 5th or the 10th time "sticks / sinks" Ctrl or Shift? And then you need to press Ctrl or Shift again to reset their triggering. I only need to use hot keys like in the exampl...
  5. Hey anyone knows how i can have a inputbox that is connected to an HotKeySet? Like if u put in like "a" in the inputbox it sets the hotkey to "a"?
  6. Hello guys. how are u doing today ?? Im new here but i wanted show somethink i just did. best kind of dynamic way to set hotkeys in yours own program. i need any suggestions, bugs report or any way to improve or any way i can do it better. its first my own "example" so be easy for me....
  7. I want to be able to press one of the many extra buttons on my mouse to execute an autoit script function. To do this I have bound weird key combinations to to each button that would otherwise never be pressed, like shift+alt+ctrl+/ (see linked image and the following code.) Unfortunately this...
  8. I would like that if you press the ENTER key is to simulate the pressure of a button in the GUI. I have no idea how to do it. THX $BTENTER = GUICtrlCreateButton("ENTER", 260, 160, 20, 25) EX. HotKeySet("{ENTER}",$BTENTER )
  9. This script sends SPACE key when you press Middle Click of your mouse. The function "_IsPressed" dont work like "HotKeySet", you can easily send 5 spaces or more while you keep pressing Middle Click and I want to send only one time the space key, not spamming/looping it. #include <misc.au3> Wh...
  10. So currently I have some code waiting for a status to change(there is different indicators to check if this status has changed) Func oneRow($count) $globaltimer = _Timer_SetTimer($gui, 60000*10, "reset") $errTimer = TimerInit() While (1)         If PixelGetColor(1117, 326) = 0xC6C6C6 Then Exi...
  11. Hi, I have written a programm offering me a lot of hotkeys to work with windows. All in all there are 40 hotkeys defined now. Now I made a portable version of it. But in this there are a lot of hotkeys useless. So I had to change some things. But that's not my point. Because of...
  12. Hi guys. I am trying to make a soundboard app. Here is the code I have so far #include "Misc.au3" #RequireAdmin;needed to work in some games. #include "array.au3" Opt("WinTitleMatchMode", -2) If @OSArch = "x64" Then Global $VLC_Path = "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" Global...
  13. How do I chain letters in a HotKeySet? This works: HotKeySet("+!d", "function")I tried this but does not work HotKeySet("abc", "function")Just reacts to the a, how to accomplish this?
  14. Hi, I am using ini files wich can set different (variable) key combinations in the script. i have a settings button wich opens a gui where the ini file can be editted and only the key that combines with the CTRL in the HotkeySet But the problem i have is that the hotkeyset does nothing when i use t...
  15. Hello I am trying to store the last 5 clipboard contents to a array. When i run my code, autoit is jumping in front of the system control +c and it is not copying anything to the clipboard. I am stumped, any ideas? Global $x=0 Global $arr[5] HotKeySet("^c","_stepper") #cs**********************...
  16. Respected programmers, tell me how to get the arguments in the correct format for the function HotKeySet () from the results function _IsPressed ()? I need to allow the user to choose the key(eg left/right arrow), when pressed, will be called the desired function through HotKeySet (). Thanks!
  17. Hi all, I want use more than one key in HotKeySet or _IsPressed functions. This is my code. It is working. But i would like to know if there is any better way to do this. Local $flag1 = False Local $flag2 = False While 1 Sleep(10) if _IsPressed("4D") Then $flag1 = True If _IsPressed("44") The...
  18. Hello everyone, Have a tricky question: How i manage to exit from loop, but not from script? (ExitLoop it is ok, but runned out of ways, how to use it in my script ) With this i have a problem: If i unpause (F2) the script, it will continue the loop. While scrip is paused (F2) i can re...
  19. Hello, I'm having some troubles using hotkeyset() in a console window.. Is it my fault or is it just not possible? (using the 'Console.au3' UDF here) #include <Console.au3> HotKeySet('{ESC}','stop') Global $input While True Cout("Enter your name: ") cin($input) system("pause") WEnd Func stop(...
  20. Greetings, Any help is greatly appreciated. I'm a bit new to AutoIT, I have the help file and some examples and started in on a little project with some success, but also having some ill effects which I'm sure is due to my lack of knowledge of AutoIT. Trying to send some key presses to another...
  21. Hi, been searching for a way to Pause a HotKeySet and it would seem that the Help File has one beautifully prepared. But it turns out that Pause does not stop the HotKeySet from working. Anyone know why? And/Or how to fix it? Thanks, Bill
  22. hi all i'am using hotkeyset("a", "a") in my script it is working well when i press "a" but the problem is when i press shift + a or ctrl + a or any two keys with "a" it will not work i want my function to run even if i pressed "a" with other key i tried HotKeySet("{LSHIFT}a")for example.. but t...
  23. Hello, why this code doesn't work in some versions of windows 7? HotkeySet(Chr(0x27),"func1") Func func1() MsgBox(0,"test","hello") EndFunc While True Sleep(10) WEnd When I press ' i should get a messagebox window but i don't.
  24. In my GUI window I'm trying to on hitting F1 in a case statement with HotKeySet() bring up a word document using a function called Word().. Am I using this wrong? everytime I try it won't open the file I have tried opening just opens a blank document and it doesn't wait till I hit F1 it just open...
  25. Hello all, is possible to create a script that sets the key to be pressed from information taken from an ini file? AutoIt.au3 HotKeySet( IniRead("file.ini", "Section", "Key", "Hotkey"), "Function" ) file.ini [Section] Key=F5 So the result would be: HotKeySet( "F5", "Function" )
×
×
  • Create New...