Skip to content

This project is a test for using the Win32 api in Golang to get the currently pressed keys, and detect if there is a combination of keystrokes associated to a command (ctrl, shift or alt).

Notifications You must be signed in to change notification settings

gdlazcano/windows-shortcuts-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windows-shortcuts-golang

This project is a test for using the Win32 api in Golang to get the currently pressed keys, and detect if there is a combination of keystrokes associated to a command (ctrl, shift or alt). It's not intended to be used in production.

To clone this project.

git clone https://github.com/DatsGabs/windows-shortcuts-golang
cd windows-shortcuts-golang
go run main.go 

You can use go build tot build an exectutable.

go build
./shortcuts.exe

If you want to run the application without the prompt you can follow this tutorial my blog

About

This project is a test for using the Win32 api in Golang to get the currently pressed keys, and detect if there is a combination of keystrokes associated to a command (ctrl, shift or alt).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages