Documentation
¶
Rendered for windows/amd64
Index ¶
- Constants
- func AutostartInstalled() bool
- func CtrlC()
- func CtrlV()
- func InstallAutostart(path string) error
- func LayoutsPath() (string, error)
- func ProcessWithConfig(cfg Config)
- func ReadClipboard() (string, error)
- func SaveConfig(cfg Config) error
- func StartHotkeyListener(handler func()) error
- func UninstallAutostart() error
- func WriteClipboard(text string) error
- type Config
- type KEYBDINPUT
- type MSG
Constants ¶
View Source
const ( MOD_CONTROL = 0x0002 MOD_SHIFT = 0x0004 WM_HOTKEY = 0x0312 VK_K = 0x4B )
View Source
const ( INPUT_KEYBOARD = 1 KEYEVENTF_KEYUP = 0x0002 VK_CONTROL = 0x11 VK_SHIFT = 0x10 VK_C = 0x43 VK_V = 0x56 )
View Source
const CF_UNICODETEXT = 13
View Source
const GMEM_MOVEABLE = 0x0002
Variables ¶
This section is empty.
Functions ¶
func AutostartInstalled ¶
func AutostartInstalled() bool
func InstallAutostart ¶
func LayoutsPath ¶
func ProcessWithConfig ¶
func ProcessWithConfig(cfg Config)
func ReadClipboard ¶
func SaveConfig ¶
func StartHotkeyListener ¶
func StartHotkeyListener(handler func()) error
func UninstallAutostart ¶
func UninstallAutostart() error
func WriteClipboard ¶
Types ¶
type Config ¶
type Config struct {
From string `json:"from"`
To string `json:"to"`
Hotkey string `json:"hotkey"`
}
func LoadConfig ¶
type KEYBDINPUT ¶
Click to show internal directories.
Click to hide internal directories.