The line produced by launch is something like wd 'winexec ',DEL,'"C:\Program Files\Mozilla Firefox\firefox.exe" -new-tab "http://www.google.com"' , DEL , 'sw_show'
The space after winexec is required. Firefox supports -new-tab and -new-window switches. If you want to have the new URL write over the current tab, you have to go to About:config in Firefox and set the parameter browser.link.open_external to 1. Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Björn Helgason > Sent: Saturday, May 31, 2008 6:46 AM > To: Programming forum > Subject: Re: [Jprogramming] How to send message to Firefox/IE? > > Thx > > This here works fine and is what I wanted > > launch_jbrowser_ 'file:///C:/temp/test.html' > > It would also be good to write to parts of an open page in a > similar manner > > 2008/5/31 Sherlock, Ric <[EMAIL PROTECTED]>: > > > I think the following is what Eric was suggesting. > > > > load '~system/extras/util/browser.ijs' > > launch_jbrowser_ 'http://www.jsoftware.com' > > > > > > > > ---Björn Helgason wrote: > > > This is interesting. > > > What is it you do to get a message out to the browser? > > > Just the simplest example will do. > > > > > > > ---------------------------------------------------------------------- > > For information about J forums see > http://www.jsoftware.com/forums.htm > > > > > > -- > Björn Helgason, Verkfræðingur > Fugl&Fiskur ehf, > Fornustekkum II, 781 Hornafirði > Po Box 127,801 Selfoss , > t-póst: [EMAIL PROTECTED] > gsm: +3546985532 > Landslags og skrúðgarðagerð, gröfuþjónusta > http://groups.google.com/group/J-Programming > > > Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari > einfaldleikans > > góður kennari getur stigið á tær án þess að glansinn fari af skónum > /|_ .-----------------------------------. > ,' .\ / | Með léttri lund verður | > ,--' _,' | Dagurinn í dag | > / / | Enn betri en gærdagurinn | > ( -. | `-----------------------------------' > | ) | (\_ _/) > (`-. '--.) (='.'=) > `. )----' (")_(") > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
