Documentation
¶
Overview ¶
Package shortcut manupulates Windows shortcut file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shortcut ¶
type Shortcut struct {
// path to be invoked, except arguments.
TargetPath string
// optional arguments in a string
Arguments string
// optional description of the shortcut
Description string
// hotkey to invoke the shortcut.
// like "Ctrl+Shift+A"
Hotkey string
// see https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/windows-scripting/w88k7fw2%28v%3dvs.84%29
// 1: normal window(size restored), activated
// 3: max, activated
// 7: min, deactivated
WindowStyle int
// filepath(fullpath),index
// like "c:/path/to/file,0"
IconLocation string
// working directory
WorkingDirectory string
}
Shortcut contains shortcut properties.
Click to show internal directories.
Click to hide internal directories.