pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Click on URL in a post??


From: John J. LeMay Jr.
Subject: Re: [Pan-users] Click on URL in a post??
Date: Tue, 10 Dec 2002 00:11:13 -0500

** Reply to message from Jim Henderson <address@hidden> on Mon, 09 Dec
2002 17:36:41 -0700


> /usr/local/mozilla/mozilla -remote "openurl(%s)"

Since we are on the topic, I got fancy. IIRC, the above command only works if
Moz is already open. Mine opens Moz if it isn't already running or opens the
link in a new tab in the existing Moz instance:

#!/bin/sh
if [ $# != 0 ] ; then
        mozilla -remote "openurl($1, new-tab)"
        if [ $? != 0 ] ; then
                mozilla $1
        fi
fi

This script is saved as ~/launch-mozilla and my browser command in Pan is set
to "~/launch-mozilla %s". Works like a champ. I also use it for my mail client
and other apps that I need to call a browser from on occasion.

-- 
John LeMay
Senior Enterprise Consultant
NJMC | http://www.njmc.com | Phone 732-557-4848
Specializing in Microsoft and Unix based solutions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]