Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Reloading a Firefox Page from the Command Line
- Date: Sat, 23 Feb 2008 11:35:32 +0900
- From: tlug@example.com
- Subject: Re: [tlug] Reloading a Firefox Page from the Command Line
- References: <20080221082635.GC12311@lucky.cynic.net>
- User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
Hi Curt, I do not think there is a way to do this using a Firefox command line switch, but it is possible to do it using the XTest extension. The only tricky part is giving focus to the target window in order to send it commands. To give it a try, install the xautomation package: http://www.hoopajoo.net/projects/xautomation.html Here is an example of how I would do it on my system, which is configured to give focus under the mouse and raises the window on a left mouse click. In this example, I keep the Firefox window at the top left of the screen and want to raise it so that I can see the results of the reload: xte 'mousemove 0 0' 'keydown Control_L' 'key R' 'keyup Control_L' \ 'mouseclick 1' Cheers, Travis On Thursday 21 February 2008 17:26:36 Curt Sampson wrote: > I would like to have a script I run from the Unix command line tell a > running Firefox instance to reload the tab it's currently displaying. > Does anybody have any idea how to do this?
- Follow-Ups:
- Re: [tlug] Reloading a Firefox Page from the Command Line
- From: David Shanahan
- References:
- [tlug] Reloading a Firefox Page from the Command Line
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Reloading a Firefox Page from the Command Line
- Next by Date: [tlug] Visio-to-PNG Batch Conversion - Possible?
- Previous by thread: Re: [tlug] Reloading a Firefox Page from the Command Line
- Next by thread: Re: [tlug] Reloading a Firefox Page from the Command Line
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links