Hi I don't really know anything about coding or what any of this means but I was just wondering how to make a button for my touchscreen that just puts out the letter E for when I play games. Any insight on how to do this would be very helpful!
You probably need a small delay. To hold alt for 1 second use parameter \altdown\sleep10\altup
That is working, thanks. I was hoping you could add support for long delays or sleeps so this is easier to set up in the future instead of getting powershell involved. I created a .ps1 file with your code then created a shortcut to it, then pointed hotkeyp to the shortcut so I can still run it with a hotkey.
That is working, thanks. I was hoping you could add support for long delays so this is easier to set up in the future instead of getting powershell involved. I created a .ps1 file with your code then created a shortcut to it, then pointed hotkeyp to the shortcut so I can still run it with a hotkey.
I'm not a programmer and don't know how to use powershell scripts or understand how your script works. I tried pasting the powershell script into powershell but I get an error that says "The term 'C:\Program Files\hotkeyp.exe' is not recognized as the name of a cmdlet, function, script file, or operable program." I also created a text file, named it test.ps1 and pasted your code into it then right clicked it and clicked run with powershell. A poweshell window briefly flashes on screen but nothing...
this is what i currently use, since i couldnt figure it out. parameter is \alt (the key i want pressed) target application is none i want it to function anytime and yes i have tried
What are parameters of your hotkey ? What is target application ? You can try to enable option "Use keyboard hook for all hotkeys".
You can try to use PowerShell script: Write-Host "Press Ctrl+C to stop the script." while ($true) { & "C:\Program Files\hotkeyp.exe" -macro \space Start-Sleep 300 }
I'm not sure if it's possible, it could block other commands. Anyway, what about using Windows Scheduler and HotkeyP command line, as workaround?
I want to create a macro to press a key every 5 minutes, but I don't think the sleep command allows for long times like that. for example my parameters would be: \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 However when I test it, the space bar is pressed about every 10 seconds, not the 5 minutes I wanted. I would appreciate if this feature was added to allow for much longer sleeps that allow many minutes. Also, sleeps being in 10ths of a second seems...
I want to create a macro to press a key every 5 minutes, but I don't think the sleep command allows for long times like that. for example my parameters would be: \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 However when I test it, the space bar is pressed about every 10 seconds, not the 5 minutes I wanted. I would appreciate if this feature was added to allow for much longer sleeps that allow many minutes. Also, sleeps being in 10ths of a second seems...
I want to create a macro to press a key every 5 minutes, but I don't think the sleep command allows for long times like that. for example my parameters would be: \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 \space \sleep 3000 However when I test it, the space bar is pressed about every 10 seconds, not the 5 minutes I wanted. I would appreciate if this feature was added to allow for much longer sleeps that allow many minutes. Also, sleeps being in 10ths of a second seems...
Essentialy what im trying to do is that when i press Q, it will also input ALT at a very small delay... idk if this discussion is dead but id love if someone helped me with this I have tried making a second command that makes it press the Q key but it ends in a loop
ok, thanks
You can't set a button to be like holding down ctrl.
Thank you! I'm new to this so struggling with the set up - is it possible to set my Mouse 4 button to be a hotkey for my ctrl button? So that when I hold down Mouse 4 it is like holding down ctrl. I haven't been able to do this so far and have seemingly looked all over for an answer. Thanks
It's impossible, but you can use other mouse shortcuts as workaround. For example, use mouse wheel up/down or tilt (left/right) to switch songs, Take a look at this topic: HotkeyP / Discussion / Discussion: HotkeyP mouse shortcuts tips
It's impossible.
Hi, Does anyone know if it's possible to create a hotkey using a double/triple click? I'm trying to create 3 mouse shortcuts: Mouse 4 + M to play/pause music Mouse 4 + M (double click) for next song Mouse 4 + M (triple click) for prev song But I'm unable to figure out a way to get a double/triple click input in, and can't find any help online. Anyone know of a way to do this? Thanks
You can try mouse shortcuts, like side button + wheel for volume, it's much better and you can assign more actions, more info here: HotkeyP / Discussion / Discussion: HotkeyP mouse shortcuts tips
You can write the number 5 to parameters.
I have my Mouse 4 and Mouse 5 buttons set to volume down and up respectively and I was wondering if it is possible to instead the volume incrementing and decrementing by 1, have it change in larger numbers like in 5. So when I press Mouse 5, the volume goes up by 5.
No, it's not possible.
Is it possible to hide several applications with one hotkey? I also try to use two hotkey to hide two application (A and B), but I can only hide one apps at one moment. Hotkey A can hide apps A, but when I use hotkey B to hide apps B, apps B is indeed hidden but apps A also become unhidden.
Command: Macro Parameters: \printscreen
Hi, How can I assign the "prtsc" key to a key? I don't want a Windows snapshot. Thnaks What should I write in the "Commands" and "parameters" section? Program ver 4.11 and i use w10.
Thanks but i use w10.
If you have Windows 11, then you have to set HotkeyP option Use keyboard hook for all hotkeys.
Hi, How can I assign the "prtsc" key to a key? I don't want a Windows snapshot. Thnaks
I had it on drive D. Moved it to C:\ and it works. Then I tried moving it to C:\Program Files and it still works fine. Thanks for the tip.
Then you would also need to change the Windows taskbar settings to enable the small icon of HotkeyP in the taskbar notification area.
Hello, try to move the "install" folder HotkeyP from "Program Files" folder to other folder, e.g. C:\Programs\HotkeyP and try again. Edit: Make sure, you have unpacked the HotkeyP folder, so that hotkeyp.exe is not opened from archive.
Hello, try to move the "install" folder HotkeyP from "Program Files" folder to other folder, e.g. C:\Programs\HotkeyP and try again.
Hi. I've tried everything I could think of. Disabling and enabling it again in options, putting a shortcut in autostart (other shortcuts work fine), adding it to Task Manager, but nothing helped. I need to launch it manually every single time.
Thanks a lot ❤️
I updated the translations.
@lastp If possible, please update the translations for Ukrainian and Russian that I published earlier. I also would be truly grateful if you could also update and release the app with these new translations ❤️
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hmm, okay, thanks for the explanation. Then I'll also return Open/Save for Ukrainian and Russian languages. Here's the final correction.
Hmm, okay, thanks for the explanation. Then I'll also return Open/Save for Ukrainian and Russian languages. Here's the final correction.
Hmm, okay, thanks for the explanation. Then I'll also return Open/Save for Ukrainian and Russian languages. Here's the final correction.
"Export settings" is used just as a backup. Then you can remove the REG file. "Save hotkeys" changes your current file location. You have to keep the HTK file there.
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Hello Petr Lastovicka, I sincerely apologize for the delay, but I have made corrections to the Ukrainian and Russian translations in accordance with the changes in version 4.11. I also made some minor corrections in these translations for improvement. Additionally, I want to point out that if you replaced "Open settings" and "Save settings" with "Import settings" and "Export settings," as this better describes those options, then you should also use "Import hotkeys" and "Export hotkeys" instead of...
Use double back slashes \
Hi. I was playing around with macros and sending a path to a file in the command line and then pressing enter. Since the file path has other back slashes in it, the macro interprets these as another key press that does not exist. c:\folder\file \enter returns the error: unknown key name: \folder. Might there be a work around or other method to get around this? Thanks! BM
Add hotkey Shift F12 Command: Macro Parameters: \ctrl\alt\f12
I use an app called "ZoomIt" that allows users to draw shapes on screen when it's invoked. To run ZoomIt, I need to press <ctrl><alt>F12 combo. I would like to use "<shift>F12" as the HotKeyP key. Can someone give me simple, but complete instructions on how to do that? Thank you!!</shift></alt></ctrl>
I can make delays go even faster but not instantly with sleep 0. This is working for my needs. I tried again with parameters: \Hdown\sleep 0\Hup\sleep 0\Idown\sleep 0\Iup However if I try to use a specific 50ms time, I get problems with these parameters: \Hdown\sleep 0.5\Hup\sleep 0.5\Idown\sleep 0.5\Iup somehow the output becomes "h55i5". The zero's are being used to determine the delay and the 5's in sleep are being printed and I think. Not sure what happened to the periods. Must be some other...
I can make delays go even faster with sleep 0. However if I try to use a specific 50ms time, I get problems. For example if I try to use 50ms delays with parameters: \Hdown\sleep 0.5\Hup\sleep 0.5\Idown\sleep 0.5\Iup somehow the output becomes "h55i5", but the delays appear to be working correctly with 50ms delays. The 5's in sleep are being printed and the zero's are being used to determine the delay I think. I tried again with parameters: \Hdown\sleep 0\Hup\sleep 0\Idown\sleep 0\Iup now the output...
I figured it out, no response necessary. Feel free to delete but maybe this will help someone else. To type "hi" slowly with 100ms delays between key down and key up do the following: command: macro parameters: \Hdown\sleep 1\Hup\sleep 1\Idown\sleep 1\Iup This is useful in programs that don't like fast inputs.
How do I create a macro to type something slowly, including the up and down keystrokes? I figured out the sleep parameter but that only delays between letters. I need a delay between keystroke down and keystroke up. For example I want to type "hi" as follows: h down, delay, h up, delay, i down, delay, i up. Another way to say that is how do I hold down a key with a macro? For example if I wanted to hold down the "h" key for 2 seconds, what would the macro parameter be?
I figured it out, no response necessary. Feel free to delete but maybe this will help someone else. To type "hi" slowly with 50ms delays between key down and key up do the following: command: macro parameters: \Hdown\sleep 0.5\Hup\sleep 0.5\Idown\sleep .5\Iup This is useful in programs that don't like fast inputs.
I figured it out, no response necessary. Feel free to delete but maybe this will help someone else. To type "hi" slowly with 50ms delays between key down and key up do the following: command: macro parameters: \Hdown\sleep 0.5\Hup\sleep 0.5\Idown\sleep .5\Iup
I figured it out, no response necessary. Feel free to delete but maybe this will help someone else. To type "hi" slowly with 50ms delays between key down and key up do the following: command: macro parameters: \Hdown\sleep 0.5\Hup\sleep 0.5\Idown\sleep .5\Iup
How do I create a macro to type something slowly, including the up and down keystrokes? I figured out the sleep parameter but that only delays between letters. I need a delay between keystroke down and keystroke up. For example I want to type "hi" as follows: h down, delay, h up, delay, i down, delay, i up. Another way to say that is how do I hold down a key with a macro? For example if I wanted to hold down the "h" key for 2 seconds, what would the macro parameter be?
Thanks
Solved %r
A new line is %r
any way to add an enter to jump next line in pasted text?
Hey! I'd love to be able to not just disable keyboard shortcuts, but stop currently running ones. I have a simple hotkey, which must send a pressed button for some particular time, but i need to be able to disable the execution of this hotkey by another hotkey. The other way which will fit my needs - hotkey execution only while the key is pressed. Not necessarily in loop, just start doing things on key down and stop at key up.
Hey! I'd love to be able to not just disable keyboard shortcuts, but stop currently running ones. I have a simple hotkey, which must send a pressed button for some time, but i need to be able to disable the execution of this hotkey by another hotkey. The other way which will fit my needs - hotkey execution only while the key is pressed. Not necessarily in loop, just start doing things on key down and stop at key up.
The hotkey command works. I was thinking that because it was showing two HotkeyP icons instead of one in windows task manager when you open the HotkeyP exe again that it was two instances but I think its just one as the same amount of memory is used and HotkeyP settings can be changed whether 1 or 2 icons for hotkeyP are showing in the task manager. Thanks for your help Dreamer.
Strange, which version are you using? My version is 4.10 64-bit, Windows 10 22H2 64-bit. How you hide the tray icon? I tested with: Options - General - [ ] Show in the system tray Again, try to create a new hotkey: Hot Key: any Command: HotkeyP.exe (or try full path) When I use this hotkey, the same instance of HotkeyP is opened, also in the task manager just 1 instance is opened. Not sure, where is the problem, it could be OS, or you could try to move the HotkeyP folder to other folder, not to C:\...
Hi. This opens a second instance of HotkeyP which I was hoping not to do as I use hotkeyP during playing and game and would prefer only one instance for as little memory used as possible. HotkeyP doesn't show in my taskbar once I close the window. Sorry, I probably should have mentioned that in my first post.
Hi. This opens a second instance of HotkeyP which I was hoping not to do as I use hotkeyP during playing and game and would prefer only one instance for as little memory used as possible. Sorry, I probably should have mentioned that in my first post.
Any hotkey and command HotkeyP.exe or click the HotkeyP desktop icon, or taskbar icon, etc.
When I tell HotkeyP to hide the tray icon and close the program window, I no longer have any way to show the program window if I want to make any further changes. Is there a way to show the program window if HotkeyP has had its tray icon hidden? Thanks.
When I'm creating a new hotkey - Macro, I have to open the Help every time, to search for an item and copy it to Hot key window - Parameters field. This is also not easy for less advanced users. Just add the same button as for Command - [<] , also for Parameters, with the menu of all available items from the Macro list in Help, e.g. these: esc, \tab, \backspace, \enter, \space, \left, \right, \up, \down They would be in the context menu as a list, e.g.: \esc \tab \backspace \enter \space \left \right...
Magnifier parameters are broken since version 4.8. Multi command never worked from the command line. I will fix it in the next version.
Thanks, why this information is missing in the Help? When it was added to HotkeyP? I'd bet, that I tested it several times years ago and it never worked. Or perhaps just some parameters are not working like these, multiple? EDIT: OK, it's partly broken with this one, height it wrong: -Magnifier 2 1200 600 EDIT2: This one is broken, error dialog is shown: "Invalid multi-command number": -Multi command 436 437 438 Same command and parameters are working from HotkeyP, using the Run button, or keyboard...
Thanks, why this information is missing in the Help? When it was added to HotkeyP? I'd bet, that I tested it several times years ago and it never worked. Or perhaps just some parameters are not working like these, multiple? EDIT: OK, it's partly broken with this one, height it wrong: -Magnifier 2 1200 600 EDIT2: This one is broken, error dialog is shown: "Invalit multi-command number": -Multi command 436 437 438 Same command and parameters are working from HotkeyP, using the Run button, or keyboard...
Thanks, why this information is missing in the Help? When it was added to HotkeyP? I'd bet, that I tested it several times years ago and it never worked. Or perhaps just some parameters are not working like these, multiple? EDIT: OK, it's partly broken with this one, height it wrong: -Magnifier 2 1200 600
Thanks, why this information is missing in the Help? When it was added to HotkeyP? I'd bet, that I tested it several times years ago and it never worked. Or perhaps just some parameters are not working like these, multiple?
Parameters are separated by a space: -macro \play_pause
It's possible to use commands, but it looks, it's impossible to use Parameters For example, I created a toolbar button for Mute using this command line parameter: -mute Anyway, I can't create other multimedia buttons, like Play/Pause, perhaps they could work like this: -macro@\play_pause Character for Parameters could be different. Is it possible? If not, could you implement such a feature, please?
Do you run your working platform as administrator ? If yes, then you have to use the task scheduler to launch HotkeyP as administrator.
For example I was using shortcut Win + I. When I open notepad or anything else it works and paste my text. But when i open my working program this specific shortcut open "settings" as it is predefined in Windows. The same situation with any other shortcut. What is more some time ago everything was working perfectly and it stopped working probably after some system update. I was trying also similar program quicktextpaste and problem is the same. Everywhere else it works and in my working platform...
Need more information, which shortcut are you using? If you just change shortcut, still not working? Are you sure the command and parameters are the same? Even uppercase/lowercase or missing dot could be important. Check, if you don't have any other program, which could use the same shortcut. What about antivirus program, it can block it either.