It is possible to remotely control a Mozilla process from another process.
This is useful when you want to have a script select Web pages to display according to your criteria, and have Mozilla display them.


The only documentation which I found about this feature is at:

  http://www.mozilla.org/unix/remote.html

There is a Python library module (webbrowser.py) which supports this feature, and the following is an example of opening a Web page in a browser tab and auto-raising the browswer window:

  ns = webbrowser.Netscape("mozilla")
  ns.open(your_url+",new-tab",new=0,autoraise=1)
  # I append ",new-tab" to the URL to work around the fact that
  # webbrowser.Netscape.open() does not support the new-tab option.

However, when I open a long text file, sometimes I want to show it to the user in the middle rather than at the beginning. If it were an HTML file with anchor at the desired place, I'd have no problems.

However, since such a file is plain text file, over whose contents I have no control, I need to have Mozilla scroll the file to the desired position. It is claimed that there is a remote command for scrolling. But all my attempts to google for the answer (or search inside www.mozilla.org) yielded no information about such a command.

So I am asking for the collective wisdom of Linux-IL to help me.
                                        Thanks,
                                             --- Omer
My own blog is at http://www.livejournal.com/users/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to