Re: Problem creating a shorcut
Duncan Booth wrote:
That's neat. You learn something new...
TJG
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.
>
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.
TJG
Comment