[TAG] Recording OpenCourseWare free lectures

Raj Shekhar rajshekhar at hotpop.com
Wed Jun 30 07:43:43 MSD 2004


Jason Creighton wrote:
> On Sun, 20 Jun 2004 12:58:18 -0700, 
> Rick Moen <rick at linuxmafia.com> wrote:
> 
> 
>>(There may be a better programmatic way to hand the URL to a running
>>instance of Firefox, directly from mutt:  I've been lazy and not
>>investigated further.)
> 
> 
> ``
> #! /bin/sh
> 
> firefox -remote "openURL($1, new-tab)" || echo "$1" >> ~/data/tolookup.txt
> ''


Will no work if you are running Firefox 0.9 . The command to do it is
``
firefox -a firefox -remote "openURL($1,new-tab)"
''
(There is no space between $1 and new-tab ). The remote command also 
provides a ping option to check for a running window
``
firefox -a firefox -remote "ping()"
''
Gives an "Error: No running window found" if no running instance is 
found else remains quiet.


-- 
    / \__
   (    @\___	Raj Shekhar
   /         O  	My home : http://geocities.com/lunatech3007/
  /   (_____/   	My blog	: http://lunatech.journalspace.com/
/_____/   U	





More information about the TAG mailing list