Questions tagged [hotkeys]
Hotkeys provide quick access to user interface application or system actions via combinatorial key presses.
1,113
questions
0
votes
0
answers
7
views
How to use pynput keyboard listener and controller at the same time?
I am a beginner at python programming, and I have been working on a pretty simple program to help me automate tasks in an app. Basically at the press of F5 I wish for a specific series of commands to ...
0
votes
0
answers
6
views
What does cmd + up-arrow do in the terminal?
While using the terminal I accidentally typed Cmd + up-arrow and saw that my previous commands got highlighted. I was wondering if I accidentally discovered a cool hack for something (other than just ...
-1
votes
0
answers
6
views
Increasing the workspace? How to make the window escape away from the mouse pointer [closed]
enter image description here
Hello guys
I'm not a programmer but I always think why isn't there a software to make the stay on top window go away only when I point at it
To understand the idea more, ...
-1
votes
0
answers
13
views
Indentation 4 spaces - without Tab in PyCharm [duplicate]
Help me with the layout of the code: Indentation (4 spaces - without "Tab"). How can shift selected part of the code (to the right or left) use key combination to move all of the selected ...
0
votes
0
answers
11
views
Why does my Python hotkey script work without the hotkey?
Hello Dear Stack Overflow Community
I am currently working on a small project to create a shortcut that executes values from the clipboard (ctrl+c) using a shortcut (alt+g) as a Google search.
The ...
1
vote
2
answers
56
views
Disable SHIFT Stickykey shortcut
I'm trying to disable the popout that appears when pressing shift 5 times. Despite setting the HKCU\Control Panel\Accessibility\StickyKeys\Flags key to the 506 value in the registry, the change is not ...
1
vote
1
answer
26
views
Assigning hotkeys to DigitalMicrograph functions and scripts?
In GMS2, there was an area to easily assign hotkeys to certain built-in functions (eg. Save As..., Rotate). It seems that was removed in GMS3. Is it possible to script a hotkey for those items and any ...
0
votes
2
answers
41
views
How to capture `Ctrl+1` hotkey on Chrome browser keydown event?
I'm now developing a website for mindmap manipulation, and now want to make some hotkeys to make operations better.
In XMind, Ctrl+1 stands for adding a label with number 1, but I found the keydown ...
1
vote
0
answers
43
views
Python how to wait for detect Ctrl+V and then continue
I am writing a python script that prepares a number of pieces of data to be posted into a web page and copies them to the clipboard using pyperclip. Currently I just have a time.sleep() statement ...
0
votes
1
answer
45
views
How to fire a hotkey when a key is pressed rather than when it is released without exposing its native function?
What I want is to simply use the XButton1 and XButton2 of my mouse as WheelRight and WheelLeft. I initially did this using:
XButton1::WheelRight
XButton2::WheelLeft
But, I was not satisfied with this ...
0
votes
0
answers
22
views
How to switch tabs in this eclipse
I am a user who uses visual studio code.
However, I have to use this eclipse, so I am currently using it, but it is too inconvenient to switch tabs.
Tap switching in visual studio code uses [alt + ...
0
votes
1
answer
59
views
Intellij basic complete ctrl + space is not working on mac
I am running IntelliJ on my maOS Big Sur and ctl + space for basic complete does not seem to work. I looked under keymap configs and it seems in order.
any ideas?
0
votes
0
answers
51
views
turn Bluetooth on/off in windows 10 using a keyboard shortcut
is there a way to toggle Bluetooth with a keyboard shortcut in Windows 10? without using the mouse.
I've searched a lot but I couldn't find anything.
0
votes
0
answers
9
views
Toggle Line Comment hotkey randomly restores to default
I use Visual Studio 2022 and sometimes Edit.ToggleLineComment hotkey restores to default from Ctrl+/ to 'Ctrl+'
How can I fix it?
Thanks in advance.
0
votes
0
answers
16
views
PyCharm: hotkey for local history in Jupyter Notebook integration
My user-defined hotkey (keyboard shortcut) to show local history in jupyter notebooks in pycharm is not working, whereas in normal .py files, it is working. The only way working is to rightclick on ...
0
votes
0
answers
14
views
how to make URL shortcut that search clipboard?
I created a URL shortcut like this: https://www.google.com/search?q=%clipboard%
But i would like it to search on google what's actually saved in my clipboard, not %clipboard%.
I need to do this ...
0
votes
1
answer
40
views
hotkey does not close Seleinum Webdriver session when pressed (python)
im practically a fetus when it comes to python programming and i hope some of you gods would be able to help me. basically i have a loop set up that pulls values from a website but i need it run ...
1
vote
1
answer
47
views
How to get Hotkey for background MFC app to show
I create a MFC App that can hide (SHIFT+W) or show (SHIFT+A) if I press hot key. By default it's hidden when startup. I search the solution and find it:
// OnPaint to paint the app and hide
void ...
0
votes
1
answer
44
views
How can I get Key press in MFC App when the app is inactive
I create an app using MFC Framework that auto hide on startup, and if I press SHIFT+W then it shows the Windows.
I inherited the function PreTranslateMessage() like that:
BOOL CTestAppDlg::...
0
votes
0
answers
16
views
How to focus on ui element with cached jquery selector
I have an input element that I would like to attach a shortcut. I have cached the jquery selector because element never changes. I have used HotKeys to attach a shortcut; '/' will focus on the input ...
3
votes
1
answer
33
views
Is there a hotkey in VS code to jump to the content space of the next element of html?
I have some html like:
<section>
<h5>|</h5>
<h3></h3>
<p></p>
</section>
where the vertical line | is the cursor. Is there a hotkey to make it ...
0
votes
1
answer
57
views
Visual Studio C # - Hotkeys for trainer [duplicate]
I made a trainer using Visual Studio C #, everything is working fine when changing values with buttons, but now i would like to create hotkeys which would work while im in game.
I tried this code, but ...
0
votes
0
answers
7
views
select and highligt next occurence in google chrome
I am using Windows and Google Chrome. I would like to be able to select next occurrence with a hotkey, e.g. how it's done in Google Colab: highlight a word and with Ctrl+D next occurrence will be ...
2
votes
3
answers
413
views
Debug in Rider studio. Step into not working
The problem during debug when I try to press Step into hot key.
It is set to F11 and F7 by default. When I try to press F11 nothing happens. When I try to press F7 it steps by code but when it must go ...
0
votes
1
answer
195
views
Pynput trigger physical button press. Hotkey pressing not working
The code is working fine the hotkey for the function is recognized and the buttons are being pressed.
An OBS function is triggered by the HotKey in hotkey_e().
When I press it physicaly it works. But ...
1
vote
1
answer
45
views
Keys in Pygame instead of numbers in the actual key
I want to make a menu point where I can change the hotkeys and also show which are used, but when I put them into a variable the output is in numbers. I had the idee to set the varibles when pressing ...
0
votes
1
answer
29
views
How to scroll through chart series in excel with arrow hotkeys?
One used to be able to 'scroll' through the series in an Excel chart by pressing the up or down arrow keys. This no longer works in Microsoft 365.
1
vote
1
answer
160
views
AHK Always on Top not working for Windows File Explorer and other Windows system windows?
I've been using an Alwaysontop AHK script to keep my windows on top of other windows.
Here's the code in question:
^SPACE:: Winset, Alwaysontop, , A ; ctrl + space
Return
~#!x::Suspend
It works ...
0
votes
1
answer
25
views
Shift+F10 Function in VB.Net
Please help me figure out for Shift+F10 in VB.NET, Escape and F1 work but Shift+F10 doesn’t work.
Here’s my code:
Protected Overrides Function ProcessCmdKey(ByRef msg As System.Windows.Forms.Message, ...
1
vote
0
answers
16
views
Force Electron to display accelerator without modifier keys?
Electron accelerators require modifier keys - but it would be really helpful to be able to show the hotkey to the user still, even if we have to implement the logic for those handlers ourselves.
For ...
0
votes
1
answer
80
views
Importing complex settings from VSCode to GoLand
I have been setting up VSCode for myself for a very long time. Here is an example of my personal settings:
{
"key": "ctrl+f shift+-",
"command": "...
1
vote
0
answers
27
views
VSCode: Is it possible to have global search combined with search by filename (functionality of ctrl+shift+f & ctrl+p combined)
I would like to be able to search for file contents AS WELL AS to include files with matching path- and/or filenames in the results when using ctrl+shift+f global search.
So, basically, akin to ctrl+...
1
vote
0
answers
63
views
Pyinstaller Hotkey not working in Exe with pynput module
I was thinking to add a hotkey feature in my project. So I found out that pynput can be use to achieve that. I used that and create a test snippet. It is working fine when I am running that as a ...
0
votes
0
answers
17
views
Copy a highlighted content, paste it into the comment field with a button...?
I'm asking for a coder who doesn't know much English.
We're designing a kinda blog website. It should have a feature like this: when a viewer is reading an article, there is a toolbar on the side, ...
0
votes
1
answer
85
views
Remap alt+tab hotkey for a certain app Python
I am trying to create a python programm where it will check if the app i want is open(e.g. Minecraft) and if it is, when the app is in the foreground i want to remap Alt+Tab to press F11 and then ...
-1
votes
1
answer
45
views
Can I add a hotkey to my secondary mousewheel on my MX Master 3 mouse?
Im using a Logi MX master 3 mouse from Logitech. This mouse has two mousewheels and i would like to add the second mousewheel to a hotkey in VS code!
When trying to apply the mousewheel to a hotkey in ...
0
votes
1
answer
165
views
Why the shortcut doesn't work in my Delphi program?
I've written a program in Delphi 10.4. The main part of the UI is just a TMemo. When the user types something in it, the app will automatically copy the text in the TMemo to clipboard. It looks like ...
1
vote
0
answers
72
views
Scandinavian letters and special characters as in Word VBA Macro Shortcuts
I am trying to use Scandinavian letters as part of hotkeys in VBA as they always unassigned by default.
There is a list of wdKeys in the Documentation, but they are missing all the Scandinavian and ...
0
votes
2
answers
116
views
How to create context-sensitive hotkeys when no window is active?
I want to create some hotkeys when no window is active:
But there's no statement like #IfNoWinActive, how to achieve this?
0
votes
0
answers
60
views
HotKey for keyboard shortcut Linux/Windows (Launching the application)
Hello everyone I have a task to make hotkeys to run the program. And then two problems arose:
1) In the windows implementation, I run the following code when creating a shortcut:
if( !file_path....
-1
votes
1
answer
101
views
Ctrl + c / Ctrl + v with memory effect
I think, that it would sometimes greatly improve your workflow, if you
could ctrl + c (copy) in a series.
That means, that when pressing ctrl +c is pressed, the content is stored in the memory
until ...
0
votes
0
answers
51
views
The hotkeys of Copy lines up/down in Pine Editor don't work on my Mac
I tried the hotkeys of 'Copy lines up/down' multiple times as the pine script doc suggests 'option + command + upArrow/downArrow'. They don't work anyway on my Mac. Other hotkeys work fine.
Can ...
0
votes
0
answers
12
views
How Direct Trigger an Symbolic Hotkey
Is it possible to directly trigger a Symbolic Hotkey?
To be more specific, I want trigger directly the Symbolic Hotkey 118 -> Switch To Desktop 1
I actually can do this using the a predefined ...
0
votes
0
answers
73
views
Create a macro like Sendinput of Ahk but in C#
I need to create a macro that when pressing a key, emits a message, for example:
When compiling this code I will use it as a macro, if I press the letter f3 it will send a message that will say "...
0
votes
1
answer
103
views
why does the "If GetAsyncKeyState" sends Button infinitely?
I wanted to make a macro that sends space infinitely only if I press it, the problem is that it's sending it even after I left my finger of the button.
DWORD WINAPI BhopThread(LPVOID lp)
{
while (...
0
votes
0
answers
99
views
Map "Alt + Right Click" to "Shift + Right Click" using AutoHotkey
I'm using the Right Click Opens Link New Tab Correct Order chrome extension, it allows me to right-click on links to directly open them in a new tab.
To get the context menu, I have to right-click ...
0
votes
1
answer
58
views
Way to add hotkeys to focus on specific windows with same title?
I have a situation with 2-5 windows with the same name. I want to set hotkeys for each window so I can press the hotkey and get focus on the specific window the hotkey is assigned to. I'm told I can ...
0
votes
1
answer
296
views
Python pynput.keyboard.write() sending text repeatedly the same text and unrequested part of text
I'm trying to make some mapped.HotKeys to transfer some text.
Using pynput, I made a function to transfer raw text and another to transfer just numbers.
Whith pynput.keyboard.GlobalHotKeys, I've ...
1
vote
0
answers
16
views
I want to develop a windows application, after installation which should be able to do something whenever I use a hot key or a combination of keys
I am developing an application that allows us to copy/ paste in the laptop/ phone and then paste in laptop/ phone. I created an android application that will copy the text over to the firebase ...
1
vote
2
answers
35
views
Changing a variable's value with Hotkey
Here, I have a part of my code which detect if "Esc" pressed or not. Then change running's value to False and terminate while loop
def exit():
xx = False
return xx
while ...