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)


def __init__(self, path=None, arguments=None, description=None, workingdir=None, iconpath=None, iconidx=0): (source)
pathLocation of the target
argumentsIf path points to an executable, optional arguments to pass
descriptionHuman-readable description of target
workingdirDirectory from which target is launched
iconpathFilename that contains an icon for the shortcut
iconidxIf 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)