I have up to just now used either two bat files or just the jhs bat and
copied the server entry by hand from the command window to the browser.

I now added the browser start entry into the jhs bat file and it works nice.

Important to put the browser start on a line before the call to J because
the J server line hangs and waits for J to end

----------------- new jhs.bat

 C:\Users\bjorn\AppData\Local\Google\Chrome\Application\chrome.exe
http://127.0.0.1:65001/jijx


%~dp0jconsole ~addons/ide/jhs/core.ijs -js " init_jhs_ 65001  0 "

...

rest of old jhs.bat

---------------------- end of jhs.bat


So depending how quickly the server and the browser start

If the jhs server is there before the browser is up it is ok.

If the browser is there first then it is just a question of refreshing the
browser page after the server is up.


-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
sími: +3544781286
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

Reply via email to