Problem creating a shorcut

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu May 15 21:24:51 EDT 2008


En Thu, 15 May 2008 12:13:56 -0300, Mike Driscoll <kyosohma at gmail.com>  
escribió:

> I've had this niggling issue from time to time. I want to create a
> shortcut on the user's desktop to a website that specifically loads
> Firefox even if Firefox is not the default browser.
>
> I usually use COM as it allows very specific settings of the shortcut,
> such as the Working Directory and the Target Path. However, the
> following will not work for some reason:

Try this different approach, using the IShellLink interface:
http://aspn.activestate.com/ASPN/docs/ActivePython/2.3/pywin32/win32com.shell_and_Windows_Shell_Links.html

-- 
Gabriel Genellina




More information about the Python-list mailing list