class documentation
class Shortcut: (source)
Constructor: Shortcut(path, arguments, description, workingdir, ...)
A shortcut on Win32.
| Method | __getattr__ |
Undocumented |
| Method | __init__ |
No summary |
| Method | load |
Read a shortcut file from disk. |
| Method | save |
Write the shortcut to disk. |
| Instance Variable | _base |
Undocumented |
def __init__(self, path=None, arguments=None, description=None, workingdir=None, iconpath=None, iconidx=0):
(source)
¶
| Parameters | |
| path | Location of the target |
| arguments | If path points to an executable, optional arguments to pass |
| description | Human-readable description of target |
| workingdir | Directory from which target is launched |
| iconpath | Filename that contains an icon for the shortcut |
| iconidx | If iconpath is set, optional index of the icon desired |