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.
Hello! It is perfect program for me but I have one big problem. I use only pasting text. In my workplace it works everywhere eg. notepad, Chrome, except platform that I use for my work, I use shorcut and nothing happens. But in my second workplace, on the same platform it works perfectly. Both Windows 11. Do you have any idea how to fix it? Thak you a lot!
Set permissions of the htk file for everyone, or move the file to a folder that is accessible for all users. Then every user has to open the file from the menu File / Open hotkeys... (Ctrl+O).
But is not saved for all users . I signed in with another user and its started just hotkey without htk file. Can I save it for all users?
To reproduce: - click the Add button to create a new hotkey - click within the hotkey field - press Alt+A Result is, that hotkey is used, but also the option on the right side is enabled, if English is used, it's "Run automatically after Windows starts". Workaround, just click Alt checkbox instead, or press Alt+A again, so the shortcut is preserved, but the side option is changed back. HotkeyP 4.10 64-bit, Windows 10 22H2 64-bit.
Now I think that it would be better to make: When HotkeyP window is Active (in focus), when hitting a hotkey, it won't run the hotkey. Only search the hotkey (The highlighting jumps to the key we just pressed). When HotkeyP window is Open but Not Active (not in focus), Hotkeys will run, but user will be able to see in NotActive HotkeyP window - The highlighting jumps to the key we just pressed.
Hotkey: Mouse L+R Command: Maximize window doesn't always work. I've noticed that if I open notepad, and I try to Mouse L+R in the inner part of window, it fails. If I try it on the caption of window, it works.
Portability problem: Moving from x64 PC to x86 PC, This hotkey failed: C:\Windows\Sysnative\SnippingTool.exe (Cannot start process C:\windows\sysnative\SnippingTool.exe) and I needed to set a new hotkey: C:\Windows\System32\SnippingTool.exe BUT when trying to replace shortkeys of the first hotkey, I couldn't: ( C:\windows\sysnative\SnippingTool.exe not found) EXPECTED: Pressing OK will show the Error but finally the changes will be accepted. (consider to replace the type of error dialog to Yes/N...
Please update links to website and forum Discussion.
A basic example like this should be added to the Help I myself had read it and initially come up with Command: Macro Parameters: \ctrl\Z "C:\Program Files (x86)\Mp3tag\Mp3tag.exe" instead of correct Macro to active window: Mp3tag.exe<< Parameters: \ctrl\Z Mp3tag.exe when trying to hotkey some mouse buttons for Mp3tag. It was only this topic that showed me how to do it because the Help had failed at doing so
A basic example like this should be added to the Help I myself had read it and initially come up with Command: Macro Parameters: \ctrl\Z "C:\Program Files (x86)\Mp3tag\Mp3tag.exe" instead of Macro to active window: Mp3tag.exe<< Parameters: \ctrl\Z Mp3tag.exe when trying to hotkey some mouse buttons for Mp3tag. It was only this topic that showed me how to do it because the Help had failed at doing so
After you save the htk file, then HotkeyP remembers its path and opens it automatically after start.
Hello; how can i open the htk. file automatically by windows start with hotkeyp?
A basic example like this should be added to the Help I had read it and initially come up with Command: Macro Parameters: \ctrl\Z "C:\Program Files (x86)\Mp3tag\Mp3tag.exe" instead of Macro to active window: Mp3tag.exe<< Parameters: \ctrl\Z Mp3tag.exe when trying to hotkey some mouse buttons for Mp3tag. It was only this topic that showed me how to do it as the Help failed at doing so
You can create these three hotkeys: Macro with parameter \esc Minimize window to tray Multi command with parameters numbers of previous two hotkeys It is possible to create a hotkey for the K key, but then you will not be able to write any text containing the letter K. Therefore it's recommended to use modifiers Ctrl, Shift, Alt or Win.
When I press the K key, I want the escape key to be pressed and then the active window to be minimized to the tray. How can I do this?
Mouse does not have auto-repeat function.
Is it possible to achieve auto-fire function with mouse? I have e.g. a Command with Macro that has Paameters ctrl\V for Mouse 5&L and it woks OK. But if I want to paste in something more than just once then while still holding Forward Mouse Button I have to click multiple times the Left Mouse Button - instead of just more conveniently holding down both of them I tried adjusting this to \rep\ctrl\V and also changing Windows > Options > General > Use keyboard hook > for all hotkeys to Windows > Options...
Is it possible to achieve auto-fire function with mouse? I have e.g. a Command with Macro like ctrl\V for Mouse 5&L and it woks OK. But if I want to paste in something more than just once then while still holding Forward Mouse Button I have to click multiple times the Left Mouse Button - instead of just more conveniently holding down both of them I tried adjusting this to \rep\ctrl\V and also changing Windows > Options > General > Use keyboard hook > for all hotkeys to Windows > Options > General...
oh ok I understand , I thought running in the background and minimized are the same.
Command "Send keys to window" works if the window is not active or is hidden behind other windows, but it does not work if the window is minimized.
Hello guys for so long I have been looking for a timer that works with shortcuts only , I found a small old program called SnapTimer that have shortcuts to start and reset the timer. now I want to activate the timer with my mouse but can I send those keys using hotkeyP basically I want to send Ctrl+Enter --> to start the timer Ctrl+R to --> to reset the timer The problem is I like to keep the timer minimized so its running in background and not showing as an active windows can I still send the keys...
Many Thanks Man finally it worked so the problem was with the commend itself I will try now with word
Command: Macro to active window Parameters: \ctrl\W Explorer.exe
Hello guys I am trying to send Ctrl + w to windows explorer using my mouse this is what I did Mouse L+R command : Keys to active window parameters: \Ctrl.w Explorer.exe I tried changing captial and small letters but I didnt work this also I didnt work with microsoft word but with browsers like edge it did work I dunno what I am doing wrong. Thanks
I've been using Seznam.cz free web hosting for 20 years. They promised unlimited free web storage for everybody forever. It was perfect for a few years. But then they restricted the storage and started to show a lot of advertisements on my web site. Now they finally ended because it is not profitable for them anymore. I hope that GitHub will be better.
Text is limited to 65535 characters in version 4.10.
This bug was fixed in version 4.10.
Confirmed, HotkeyP v4.9 , Windows 10 22H2 64-bit. BTW (C) 2003-2018 is outdated either. Working links: - https://plastovicka.github.io/ - https://plastovicka.github.io/others.html#hotkey - https://plastovicka.github.io/HotkeyP-help.html
Confirmed, HotkeyP v4.9 , Windows 10 22H2 64-bit. BTW (C) 2003-2018 is outdated either.
It's the same here, HotkeyP v4.9 , Windows 10 22H2 64-bit.
Windows 11 (22H2)
Apparently the link in the About of Help leads to a site that is no longer present in that web service it was hosted on
But on what operating system?
As it comes out, I had to add this line at the beginning of the above script timeout 3 And that was because (without this line) HotkeyP was working in every program- except in 20 year old Sound Forge 7.0: after each system start I had to close HotkeyP and then re-open it in order to be able to use it in Sound Forge. And as this was not an issue of different privileges, I also did not have more time nor energy to establish precisely why this extra line is needed; if it is a fault of only HotkeyP or...
I had to include this line a the beginning timeout 3 And that was because (without this line) HotkeyP was working in every program- except in 20 year old Sound Forge 7.0: after each system start I had to close HotkeyP and then re-open it in order to be able to use it in Sound Forge. And as this was not an issue of different privileges, I also did not have more time nor energy to establish precisely why this extra line is needed; if it is a fault of only HotkeyP or only Sound Forge* or some other...
Also, I have a few corrections to the English translation. Since probably English translation use by default and doesn't have a translation file, I will write them out as plain text. 1019=Monitor power off => Display power off 1004=Suspend => Sleep/Suspend In the first case, "display" is a more general term than "monitor," especially in the case of a laptop. In the second case, it's worth specifying that it is indeed the sleep mode, as translated in Windows itself.
Yes, I am using application version 4.9. My translation was based on the Russian version, and in that version, those specific strings were missing. Done, I have added the translation and also included translations for the missing strings in Russian language. THX for the great application.
Yes, I am using application version 4.9. My translation was based on the Russian version, and in that version, those specific strings were missing. Done, I have added the translation and also included translations for the missing strings in Russian language. THX for the great application.
Have you installed the last version 4.9 ? These translations are missing: 22=Cancel Operation 315=Sound: 316=Wait before executing this hotkey 317=Run as administrator 512=Waveform audio (.wav)\0.wav\0 550=The following command is about to be executed.\n\n If you now regret your decision to invoke this command click "Cancel" to abort the operation. (Otherwise be prepared for the consequences!) 1112=Maximize all 1113=Show HotkeyP window 1114=Reload hook 1115=Minimize window to tray Thanks.
I also noticed that the top part of the icon in the System Tray, File Explorer, etc., is somehow getting cut off (see the image below).
I have translated the app into Ukrainian. If possible, please add Ukrainian language support in a future update. I have attached the file below. THX very much.
No.
As far as I know it is not possible. But it's a good idea, will expand possibilities. LeftCtrl+C RightCtrl+C
I mean right alt/ctrl/win/shift and not left.
I mean right alt/ctrl/win/shift
You're welcome. I am all about using only mouse for as much as possible Take a look at this topic I created, for inspiration: HotkeyP mouse shortcuts tips
Oh, this feature Yes, I too would like to be able to adjust it in this manner - and not only that aspect of it: https://sourceforge.net/p/hotkeyp/discussion/general/thread/559eee6e1b/ (Especially that I am failing at building such menu with adjustable GUI in AutoHotkey: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=114598; but for now a slight workaround in HotkeyP is to write you Texts in CAPITALS and / or with p a u s e s , so that they would become just slightly more visible)
Oh, this feature Yes, I too would like to be able to adjust it in this manner - and not only that aspect of it: https://sourceforge.net/p/hotkeyp/discussion/general/thread/559eee6e1b/ (Especially that I am failing at building such menu with adjustable GUI in AutoHotkey: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=114598; but for now a slight workaround in HotkeyP is to write you Texts in CAPITALS and / or with p a u s e s , so that they would become just slightly more visible)
Under the Add > Command > {<} ICON > Macro > Paste text users can define a menu containing list of texts ready for pasting in them whenever it is activated with a chosen hotkey. It is a great feature idea - but its current functionality unfortunately is not And thus I propose to update this feature by: ●1] Making menu possible to be closed not only with the Esc key but also with the same shortcut that evoked it It would be convenient to be able to turn it OFF after turning it ON with e.g. Middle...
That Middle Mouse Button + Right Mouse Button hotkey was merely an imaginary example And I am all about using only mouse for as much as possible, as my aching back forces me to use laying position more and more, in which constant usage of even a small wireless keyboard has side effects effects But that %|ab%|cdef%|ghi%| trick is a nice workaround for "implementing" one of my postulates right now Thank you for yor suggestions
That Middle Mouse Button + Right Mouse Button hotkey was merely an imaginary example And I am all about using only mouse for as much as possible, as my aching back forces me to use laying position more and more, in which constant usage of even a small wireless keyboard has side effects effects But that %|ab%|cdef%|ghi%| trick is a nice workaround for "implementing" one of my postulates right now
Under the Add > Command > {<} ICON > Macro > Paste text users can define a menu containing list of texts ready for pasting in them whenever it is activated with a chosen hotkey. It is a great feature idea - but its current functionality unfortunately is not And thus I propose to update this feature by: ●1] Making menu possible to be closed not only with the Esc key but also with the same shortcut that evoked it It would be convenient to be able to turn it OFF after turning it ON with e.g. Middle...
Under the Add > Command > {<} ICON > Macro > Paste text users can define a menu containing list of texts ready for pasting in them whenever it is activated with a chosen hotkey. It is a great feature idea - but its current functionality unfortunately is not And thus I propose to update this feature by: ●1] Making menu possible to be closed not only with the Esc key but also with the same shortcut that evoked it It would be convenient to be able to turn it OFF after turning it ON with e.g. Middle...
1) Middle and right mouse button can't be used, because it could be a conflict with existing mouse shortcut, e.g. I'm using Right+middle button shortcut. 2) Hint - add this at the end of Parameters field: %| - this way you can close the Paste text dialog/list with End+Enter or by double-click the last empty item. Regarding other suggestions, just another hint, direct shortcuts for options you're using often, e.g. Ctrl+Shift+1, 2, 3, 4...
Oh, this feature Yes, I too would like to be able to adjust it in this manner - and not only that aspect of it: https://sourceforge.net/p/hotkeyp/discussion/general/thread/559eee6e1b/ (Especially that I am failing at building such menu with adjustable GUI in AutoHotkey: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=114598; but for now a slight workaround in HotkeyP is to write you Texts in CAPITALS and / or with p a u s e s , so that they would become just slightly more visible)
Under the Add > Command > {<} ICON > Macro > Paste text users can define a menu containing list of texts ready for pasting in them whenever it is activated with a chosen hotkey. It is a great feature idea - but its current functionality unfortunately is not And thus I propose to update this feature by: ●1] Making menu possible to be closed not only with the Esc key but also with the same shortcut that evoked it It would be convenient to be able to turn it OFF after turning it ON with e.g. Middle...
I'm talking about menu defined using "paste text" - see (click on image preview to see in full)
I'm talking about menu defined using "paste text" - see
Are you advocating for configurable adjustments for the feature described in the Help file as under the "Paste text" - or are you speaking about configuration of the overall GUI of HotkeyP?
Are you advocating for configurable adjustments for the feature described in the Help file as under the "Paste text" - or are you speaking about the overall GUI of HotkeyP?
Are you speakin of configurable adjustments for the feature described in the Help file as under the "Paste text" - or the overall GUI of HotkeyP?
A workaround to this issue with Startup system folder and HotkeyP is to put in that folder an LNK - but leading to a BAT file with such code: @echo off set program="C:\Portables\HotkeyP\HotkeyP.exe" :: Checks if this script is already running with administrator privileges net session >nul 2>&1 if %errorLevel% == 0 ( :: If this script is running with administrator privileges- launch the >>program<< directly start "" %program% ) else ( :: If this script is not running with administrator privileges-...
A workaround to this issue with Startup system folder and HotkeyP is to put in that folder an LNK - but leading to a BAT file with such code: @echo off set program="C:\Portables\HotkeyP\HotkeyP.exe" :: Checks if this script is already running with administrator privileges net session >nul 2>&1 if %errorLevel% == 0 ( :: If this script is running with administrator privileges- launch the >>program<< directly start "" %program% ) else ( :: If this script is not running with administrator privileges-...
Yes, I am sure; and I have my reasons to not select that auto option and run HotkeyP as a portable Also my previous negative experiences with Startup tell me that this is not my fault. For example after many tests I had to settle on using an LNK leading to PS1 with instructions in it for automatic sending of audio files to Mp3tag (so that I would not waste time and clicks every single day), because BAT scripts were unable to do this correctly and other tricks also had failed
Hi. Popup window is really great and I use it very often (btw it is little hidden possibility inside Help :) ). Would it be possible to configure little its layout during runtime? I understand, that it should be as simple as possible, but font name, font size and border width would be very useful imo. BTW thank you very much for such great program, I used it everyday. Milan