On Sun, 9 Oct 2005 23:08:45 -0400, Roger Upole wrote:
> Pythoncom doesn't directly support the necessary interfaces,
> but you can use the Shell COM interfaces to create them.
>
> import win32com.client
> wsh=win32com.client.gencache.EnsureDispatch('wscript.shell')
> s=wsh.CreateShortcut('c:\\pyt
Pythoncom doesn't directly support the necessary interfaces,
but you can use the Shell COM interfaces to create them.
import win32com.client
wsh=win32com.client.gencache.EnsureDispatch('wscript.shell')
s=wsh.CreateShortcut('c:\\python.url')
s.TargetPath='www.python.org'
s.Save()
hth
Roger
I've seen the python.faqts page:
http://www.faqts.com/knowledge_base/view.phtml/aid/4475/fid/538 on how to
create windows shortcuts using Python.
Does anyone know if this be adapted to create internet shortcuts on
windows? (as used for Favorites).
Thank you,
--
Richard
--
http://mail.python.or