Problem creating a shorcut

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Golden

    #16
    Re: Problem creating a shorcut

    Duncan Booth wrote:
    It's not too hard to get the required command line from the registry:
    >
    import _winreg
    print _winreg.QueryVa lue(_winreg.HKE Y_CLASSES_ROOT,
    'FirefoxURL\she ll\open\command ')
    >
    and of course it throws an exception if firefox isn't installed.
    >
    Then just replace %1 with the url to get the actual command you need.
    That's neat. You learn something new...

    TJG

    Comment

    Working...