I copied the the shortcuts to start.js as well as the shortcut to starth.js
to the
C:\Users\bjorn\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

I then restarted the machine and both J sessions started automatically.

The term window appeared and works as normal.

The JHS service is up and running and in the browser I can issue the command

jshowconsole_j_ 1 NB. hide/show 0/1

and the hidden console comes to light.

startj.js starts gtk automatically and the console is hidden
starth.js starts jhs automatically and the console is hidden

2011/1/10 Björn Helgason <[email protected]>

> It is actually nice to put a startj shortcut on the desktop.
>
> Putting the starth shortcut on the desctop and thus start the jhs server as
> hidden has the back side that you do not see it anymore so you do not know
> if it is up and running or not.
>
>
> 2011/1/10 Björn Helgason <[email protected]>
>
>> It also works for the jhs.bat and thus no need to have the command windows
>> showing.
>>
>> I created one called startj to start the gtk gui part of J and another
>> called starth to start the jhs server
>>
>> It is also fitting to use .js file to start J
>>
>> 2011/1/10 Björn Helgason <[email protected]>
>>
>> Create a file
>>>
>>> --------- startj.js
>>> var WindowStyle_Hidden = 0
>>> var objShell = WScript.CreateObject("WScript.Shell")
>>> var result = objShell.Run("cmd.exe /c gtk.bat", WindowStyle_Hidden)
>>> ----------------------
>>>
>>> Then a file gtk.bat
>>>
>>> ---------------- gtk.bat
>>> %~dp0jconsole gtkide
>>> -------------------
>>>
>>>
>>>
>>>
>>> 2011/1/10 bill lam <[email protected]>
>>>
>>> I haven't checked but I not sure if that will be easy because the
>>>> terminal
>>>> window used by jconsole is not created by jconsole but by shell command.
>>>>
>>>> Пнд, 10 Янв 2011, Eric Iverson писал(а):
>>>> > In windows it is possible to programatically hide/show the window. I
>>>> think
>>>> > this will allow users to customize as they see fit once we get some
>>>> more use
>>>> > scenarios based on real experience. Initially I hated having the JHS
>>>> window
>>>> > lying around but have gotten used to it and even like it.
>>>> >
>>>> > On Sun, Jan 9, 2011 at 7:53 PM, bill lam <[email protected]> wrote:
>>>> >
>>>> > > jconsole is itself a console program so that I think you need to use
>>>> > > another loader in order to suppress it from task bar. You may try
>>>> copy
>>>> > > j.exe from j602 to bin folder, and start using a shortcut to run
>>>> > >   /path/to/j.exe gtkide
>>>> > >
>>>> > > It should run gtkide but not sure if there will be any other issues.
>>>> > >
>>>> > > Пнд, 10 Янв 2011, Ric Tikkanz писал(а):
>>>> > > > Gtk IDE - The title bar of the Term window doesn't really have
>>>> > > > anything to suggest that it is J-related. As  a result I find
>>>> myself
>>>> > > > taking a while to find it amoung the many other windows I have
>>>> open.
>>>> > > > I'd prefer it to use the green J icon rather than the current
>>>> monitor.
>>>> > > > Renaming the window "J Term" or "J Terminal" (or "J session" or
>>>> > > > "jijx") would help too.
>>>> > > >
>>>> > > > On Windows will it be possible to start the Gtk IDE without the
>>>> parent
>>>> > > > Jconsole window appearing?
>>>> > > >
>>>> > > > JHS - The icon used to start the JHS server is red, yet the
>>>> favicon
>>>> > > > used for the tabs in the browser are blue. It would make sense to
>>>> me
>>>> > > > for the colours to match.
>>>> > > >
>>>> ----------------------------------------------------------------------
>>>> > > > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>> > >
>>>> > > --
>>>> > > regards,
>>>> > > ====================================================
>>>> > > GPG key 1024D/4434BAB3 2008-08-24
>>>> > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>> > >
>>>> ----------------------------------------------------------------------
>>>> > > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>> > >
>>>> > ----------------------------------------------------------------------
>>>> > For information about J forums see
>>>> http://www.jsoftware.com/forums.htm
>>>>
>>>> --
>>>> regards,
>>>> ====================================================
>>>> GPG key 1024D/4434BAB3 2008-08-24
>>>> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>>>
>>>
>>>
>>>
>>> --
>>> 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  |
>>>    (   -.  |        `-----------------------------------'
>>>    |     ) |         (\_ _/)
>>>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>>>    `. )----'        (")_(") ☃☠
>>>
>>
>>
>>
>> --
>> 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  |
>>    (   -.  |        `-----------------------------------'
>>    |     ) |         (\_ _/)
>>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>>    `. )----'        (")_(") ☃☠
>>
>
>
>
> --
> 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  |
>    (   -.  |        `-----------------------------------'
>    |     ) |         (\_ _/)
>   (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
>    `. )----'        (")_(") ☃☠
>



-- 
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