Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/d/a/datahaven-rev8661/datahaven/lib/misc.py   datahaven(Download)
            desktop = shell.SpecialFolders(folder)
            path = os.path.join(desktop, filename)
            shortcut = shell.CreateShortCut(path)
            shortcut.Targetpath = target
            shortcut.WorkingDirectory = wDir
            startmenu = shell.SHGetSpecialFolderPath(0, csidl, False)
            path = os.path.join(startmenu, filename)
            shortcut = shell_.CreateShortCut(path)
            shortcut.Targetpath = target
            shortcut.WorkingDirectory = wDir

src/k/a/kamaelia-HEAD/Sketches/RJL/bittorrent/BitTorrent/BitTorrent/platform.py   kamaelia(Download)
def create_shortcut(source, dest, *args):
    if os.name == 'nt':
        shell = win32com.client.Dispatch("WScript.Shell")
        shortcut = shell.CreateShortCut(dest + ".lnk")
        shortcut.Targetpath = source

src/g/a/garybash-HEAD/Mopy/bash/bosh.py   garybash(Download)
            if appDir.join(file).isfile() and file.cext == '.lnk':
                sh = win32com.client.Dispatch('WScript.Shell')
                shortcut = sh.CreateShortCut(appDir.join(file).s)
                description = shortcut.Description
                if not description:

src/s/t/starcal-HEAD/scal2/windows.py   starcal(Download)
def winMakeShortcut(srcPath, dstPath, iconPath=None):
    from win32com.client import Dispatch
    shell = Dispatch('WScript.Shell')
    shortcut = shell.CreateShortCut(dstPath)
    shortcut.Targetpath = srcPath

src/w/x/wx_py-0.9.8.11/postinstall.py   wx_py(Download)
        def create_shortcut( target, description, filename,
                             arguments, workdir, iconpath ):
            '''Make a shortcut with direct calls to Windows'''
            shell = win32com.client.Dispatch('WScript.Shell')
            shortcut = shell.CreateShortCut(filename)

src/s/e/SeedWaterSegmenter-0.5.7.0/postinstall.py   SeedWaterSegmenter(Download)
        def create_shortcut( target, description, filename,
                             arguments, workdir, iconpath ):
            '''Make a shortcut with direct calls to Windows'''
            shell = win32com.client.Dispatch('WScript.Shell')
            shortcut = shell.CreateShortCut(filename)