JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr Ϫf>dZddlZddlZddlmZdZGddZy)z5 Creation of Windows shortcuts. Requires win32all. N)shellc<t}|j||S)zg Open an existing shortcut for reading. @return: The shortcut object @rtype: Shortcut )Shortcutload)filenamescs 9/usr/lib/python3/dist-packages/twisted/python/shortcut.pyopenr s BGGH Ic6eZdZdZ ddZdZdZdZy)rz A shortcut on Win32. Nctjtjdtjtj |_|.|jtjj|||j|||j||.|jtjj||0|jtjj||yy)a @param path: Location of the target @param arguments: If path points to an executable, optional arguments to pass @param description: Human-readable description of target @param workingdir: Directory from which target is launched @param iconpath: Filename that contains an icon for the shortcut @param iconidx: If iconpath is set, optional index of the icon desired N) pythoncomCoCreateInstancerCLSID_ShellLinkCLSCTX_INPROC_SERVERIID_IShellLink_baseSetPathospathabspath SetArgumentsSetDescriptionSetWorkingDirectorySetIconLocation)selfr arguments description workingdiriconpathiconidxs r __init__zShortcut.__init__"s$//  ! !   * *      LL. /    i (  "    ,  !  $ $RWW__Z%@ A    !:G D r c|jjtjj t j j|y)z1 Read a shortcut file from disk. N)rQueryInterfacerIID_IPersistFileLoadrrrrrs r rz Shortcut.loadEs7 !!)"<"<=BB GGOOH % r c|jjtjj t j j|dy)z^ Write the shortcut to disk. The file should be named something.lnk. rN)rr$rr%Saverrrr's r savez Shortcut.saveMs9 !!)"<"<=BB GGOOH %q r c.t|j|S)N)getattrr)rnames r __getattr__zShortcut.__getattr__Wstzz4((r )NNNNNr)__name__ __module__ __qualname____doc__r"rr*r.r r rrs1 !EF  )r r)r2rrwin32com.shellrr rr3r r r5s$     ;);)r