https://github.com/lmbek/native-go-scripts
Some go scripts that can: make screenshots and save them as images, handle keyboard and send keys, move the mouse around, give warning/alerts, give yes/no dialog and prompt folder selection
https://github.com/lmbek/native-go-scripts
api folder-selection go golang keyboard messageboxw mouse mousemove screenshot sendkeys warnings win32api windows windows-os
Last synced: 1 day ago
JSON representation
Some go scripts that can: make screenshots and save them as images, handle keyboard and send keys, move the mouse around, give warning/alerts, give yes/no dialog and prompt folder selection
- Host: GitHub
- URL: https://github.com/lmbek/native-go-scripts
- Owner: lmbek
- License: mit
- Created: 2023-06-09T16:40:13.000Z (about 3 years ago)
- Default Branch: LatestRelease
- Last Pushed: 2024-04-22T00:19:07.000Z (about 2 years ago)
- Last Synced: 2026-03-12T06:57:27.933Z (4 months ago)
- Topics: api, folder-selection, go, golang, keyboard, messageboxw, mouse, mousemove, screenshot, sendkeys, warnings, win32api, windows, windows-os
- Language: C
- Homepage:
- Size: 1.18 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This repository contains:
Some go scripts that can:
* make screenshots and save them as images
* handle keyboard and send keys
* move the mouse around
* give warning/alerts
* give yes/no dialog
* prompt folder selection
## Note:
For winapi only windows works
For x11 only linux works
## Article about the use of win32 and some of its risks
As this package uses unsafe and syscalls and depend on the windows operating system, this article should help understand some of it
https://justen.codes/breaking-all-the-rules-using-go-to-call-windows-api-2cbfd8c79724
Also the windows api documentation comes in handy