For example , you push ctrl+v and insert the buffer content into the window. How can I create my own hotkeys like that? Sorry for noobish question.
Join them; it only takes a minute:
|
|
A great way to do this quickly and easily is with a script language that focuses on macro programming. My favorite is AutoIt as it says in a clip from the AutoIt help file...
Writing a hotkey application in AutoIt couldn't be easier. For example lets say for some reason (to obscure to mention) you would like Alt+q to react as number pad key 7 in a particular situation possibly so you don't have to reach across the keyboard for it. Here's some code that does that...
If that's not straight forward enough the AutoIt help file and forums are very helpful. Not to mention a (very) few AutoIt developers are available on SO if you end up with any AutoIt specific questions. In the example above lets say you only wanted the hotkeys to be active when a particular application was in use so as to not interfere with other hotkeys. This code would accomplish just that.
|
|||||||||||||||||||||
|
|
Per-process keyboard shortcuts like Ctrl+V are usually defined in a resource (.rc) file and loaded via the Win32 API LoadAccelerators. Windows-wide keyboard shortcuts (hotkeys) are registered using the Win32 API RegisterHotKey. |
|||
|
|
|
I've been using AutoHotkey at work for the best part of a year now. I just save the following file in my Windows Startup folder. keyboard_shortcuts.ahk
"#b" means Winkey+B "Run, mailto:boss@mycompany.com" open a black email to my boss.
|
|||||
|
|
You can create a simple hotkey in Windows by creating a shortcut and then assign a shortcut key to it. I have done this for launching some command line apps with parameters. The following link explains using a shortcut key to an app to mute the volume:Mute Just replace the Target: and Shortcut Key: in the shortcut properties with whatever you need for your purposes. |
|||
|
|
|
Ok...the easiest way, for example On you desktop, you can use accelerated command by right click the icon > properties > shortcut key; Click on the empty space and it will seem like nothing happens, but this is when you assign your "hotkey" i used "shift + 1" and whenever i combine "shift + 1" firefox opens. |
|||
|
|
|
Simple script with windows with no third party software required.Just save as .vbs file and double click
Change the lnk.TargetPath to include your exe file or batch file to be called. |
|||||
|
|
First, welcome to Stack Overflow! Second, this is a program by program thing. The only reason that ctrl+c or ctrl+v works across different programs is because there is operating system support for the clipboard and many programs follow the convention of using ctrl+c or ctrl+v. In your own programs, you can bind the keys however you like! For more details, we'll need more information about your program. If you want to make actual hotkeys for Windows itself, I'm not sure how (nor if you are able) to make your own hotkeys. You might want to look into AutoIt, which is a free program that can do all sorts of things you might want to use a hotkey for, such as automatically clicking through menus, etc. |
|||||||||||||
|