Please login or register.

Login with username, password and session length
Advanced search  


Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: HOWTO remote control Seamonkey and other spawn of moz  (Read 4069 times)

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
HOWTO remote control Seamonkey and other spawn of moz
« on: September 15, 2006, 08:19:16 pm »

the functionality described in the above webpage applies to any moz-based browser, afaik, and is more or less self-explanatory. but for demonstration:



if $SEAMONKEY_PATH -remote 'ping()' &> /dev/null; then
  exec $SEAMONKEY_PATH -remote "openURL($1,new-tab)"

This example script checks if an instance of Seamonkey is running with the remote ping() function. If so, it opens a new tab in this running process with openURL(someURL,new-tab). Otherwise, it initiates a completely new Seamonkey process with the given URL as its one and only tab

(Note that the argument referenced by $1 must be a proper URL; that is, file:///home/hanumizzle and are both halal, but plain /home/hanumizzle isn't)
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months