# ``twisted`.`python`.`shortcut`.`Shortcut``

class documentation

`class Shortcut: (source)`

View In Hierarchy

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 __getattr__(self, name): (source)

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

def load(self, filename): (source)
Read a shortcut file from disk.
def save(self, filename): (source)

Write the shortcut to disk.

The file should be named something.lnk.

_base = (source)

Undocumented