Just get the user to have preferences where they would set their default
browser executable.
> -----Original Message-----
> From: gettingstarted at lists dot realsoftware dot com
> [mailto:gettingstarted at lists dot realsoftware dot com] On Behalf Of
> Aaron Ballman
> Sent: Sunday, March 28, 2004 11:46 AM
> To: Getting Started
> Subject: Re: Linux ShowURL
>
> > I have a friend who is using my app on Fedora Linux Core 1 with
> > Firefox as his browser. I have setup the action() method of
> a button
> > to ShowURL "http://www.url.com" and that works on Windows.
> However, it
> > doesn't work on Linux! Is there a different function to use
> for Linux?
>
> ShowURL is not currently supported on Linux, but you _can_ do
> it yourself if you know what browser the user is running.
> You will want to use the shell class, and execute a command
> similar to the following (which assumes the user has mozilla
> as their browser, the commands may be different based on the
> browser installed):
>
> mozilla http://ww.url.com
>
> HTH!
>
> ~Aaron
>
>
> - - -
> Unsubscribe or switch delivery mode:
> <http://support.realsoftware.com/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>
- - -
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|