On Wed, Dec 17, 2003 at 01:10:49PM +1300, Sharrea Day wrote:
On Wed, 17 Dec 2003 05:20, Todd Slater wrote:
with some easy config, thunderbird 0.4 can launch url's.
http://www.deftone.com/blogzilla/archives/mozilla_thunderbird_04_released .html
Thanks for that Todd... been waiting for this feature!
Bit of a bummer that the script copied from the URL wants to use another profile if firebird is already running tho. I changed it to konqueror so I don't have to worry about whether or not firebird is already running.
Cheers Sharrea
Sharrea,
That choose profile is annoying. I use this script which I called /usr/bin/firebird to open links in a new tab. If you prefer, you can substitute new-window. Everything I use that launches URL's calls this script.
Todd, I'm having trouble with the script below. I put in some echoes and ran the script from a terminal, and here is what I see:
(1) If neither Thunderbird nor Firebird is running, the script successfully starts up Firebird and retrieves the target URL.
(2) If *Thunderbird* is running the script thinks that Firebird is running. I guess because they both use the Mozilla rendering engine?
(3) If either Thunderbird or Firebird is already running, it goes into the if case and prints out "Failed to send command." The target URL is not retrieved.
Any ideas?
Todd
#/bin/bash browserPath="/usr/local/MozillaFirebird/MozillaFirebird" url="$@"
$browserPath -remote "ping()"
# $? = false if running, true if not if [ $? = 0 ] ; then exec $browserPath -remote openURL"($url,new-tab)" else $browserPath $url fi exit
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
-- Guy Rouillier
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
