From: Martin Donlon (akawaka at domain csn.ul.ie)
Date: Thu 03 Feb 2000 - 21:21:16 GMT
Wouldn't it be lovely if you know longer had to worry whether another
netscape window was open when you clicked on your little netscape Icon?
Nothing gets on my nerves more than seeing that little warning window pop
up <grumble> so I wrote this:
<cut netscape-open.sh>
#! /bin/sh
if ps x | grep -v "$0" | grep netscape | grep -v grep > /dev/null
then
netscape -noraise -remote 'openBrowser()'
else
netscape
fi
<------>
Problem is when you close the original window all the others close too.
ANyone got a better solution?
Long live the confused,
Akawaka.
-- Bother! said Pooh, as he deported Buchanan to Northern Ireland.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:05:21 GMT