Job Evers wrote:
On Sun, 22 Feb 2004 15:32:42 -0500
Todd Slater <[EMAIL PROTECTED]> wrote:
I put this script in /usr/bin and tell all my apps to use it for
handling Web pages. It opens pages in a new tab, if you want you can
use new-window instead.
Todd
#/bin/bash
browserPath="/usr/local/firefox/firefox"
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
Todd, this script is awesome. Thanks. My browsing experience has been greatly improved.
------------------------------------------------------------------------
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________
How do you tell the other applic to use this script?
Thanks
Christophe
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________