Duncan Booth wrote:
It's not too hard to get the required command line from the registry:
import _winreg
print _winreg.QueryValue(_winreg.HKEY_CLASSES_ROOT,
'FirefoxURL\shell\open\command')
and of course it throws an exception if firefox isn't installed.
Then just replace %1 with the url t
Tim Golden <[EMAIL PROTECTED]> wrote:
>> 3) You assume, that Firefox is always installed at C:\Program
>> Files\Mozilla Firefox\firefox.exe
>> However the path largely differs from system to system.
>
> This is broadly true. However, it's fairly clear from the
> phrase "the user's desktop" that
Mike Driscoll wrote:
Ah. I was unaware of the Arguments parameter. That works quite well.
Where does one find this information anyway? I think I found mine from
bits and pieces scattered in various tutorials.
The canonical place would be:
http://msdn.microsoft.com/en-us/library/bb774950(VS.85)
On May 16, 8:09 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> Mike Driscoll wrote:
> > On May 15, 2:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> >> Mike Driscoll wrote:
> >>> Hi,
> >>> I've had this niggling issue from time to time. I want to create a
> >>> shortcut on the user's desktop to a web
On May 15, 8:24 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Thu, 15 May 2008 12:13:56 -0300, Mike Driscoll <[EMAIL PROTECTED]>
> 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
>
On May 16, 1:51 am, Chris <[EMAIL PROTECTED]> wrote:
> On May 15, 5:13 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > 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 Fire
On May 16, 5:44 am, Wolfgang Draxinger <[EMAIL PROTECTED]>
wrote:
> Mike Driscoll wrote:
> > Hi,
>
> > 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
> > browse
Mike Driscoll wrote:
On May 15, 2:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
Mike Driscoll wrote:
Hi,
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 u
Wolfgang Draxinger wrote:
1) you should not hardcode the backslashes ('\'), instead use
os.sep for it.
With respect, the OP is creating a Windows desktop shortcut.
Unless Microsoft suddenly decide to change their use of the
backslash, I suggest that this is a needless generalisation.
3) You
Wolfgang Draxinger wrote:
1) you should not hardcode the backslashes ('\'), instead use
os.sep for it.
With respect, the OP is creating a Windows desktop shortcut.
Unless Microsoft suddenly decide to change their use of the
backslash, I suggest that this is a needless generalisation.
3) You
Mike Driscoll wrote:
> Hi,
>
> 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
> short
On May 15, 5:13 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote:
> Hi,
>
> 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 ve
En Thu, 15 May 2008 12:13:56 -0300, Mike Driscoll <[EMAIL PROTECTED]>
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 al
On May 15, 2:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> Mike Driscoll wrote:
> > Hi,
>
> > 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
Mike Driscoll wrote:
Hi,
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
15 matches
Mail list logo