What's the point of doing that when you can just put the right target in the shortcut?
2011/11/6 Björn Helgason <[email protected]>: > It is possible to create a .js file like startgtk.js that is run > automatically when windows starts that will run hidden . > > ---------------- startgtk.js > var WindowStyle_Hidden = 0 > var objShell = WScript.CreateObject("WScript.Shell") > var result = objShell.Run("cmd.exe /c gtk.bat", WindowStyle_Hidden) > > > 2011/11/5 Ric Sherlock <[email protected]> > >> True - a nice feature for debugging, but IMO not very nice for daily use. >> >> I know that you can hide the cmd window for jhs using ( >> jshowconsole_j_ 0 ), but AFAICS the same is not possible for the cmd >> window for Jgtk. >> >> 2011/11/5 Björn Helgason <[email protected]>: >> > Occasionally you get errors reported in the command windows for gtk >> > respective jhs. >> > >> > It is possible to hide those windows. >> > >> > 2011/11/5 Ric Sherlock <[email protected]> >> > >> >> I'm interested on whether there are reasons for using the batch files >> >> in ~system/bin to run the various interfaces in the J7 Windows >> >> install? >> >> Why not just have the shortcut run jconsole.exe with the appropriate >> >> options directly? >> >> >> >> One downside for using the batch files is the side effect it has on >> >> the icon used to represent the Jgtk window in the Taskbar - gray >> >> (jconsole) rather than green (jgtk). The other issue is that you end >> >> up with a cmd window (labelled j64-701gtk) as well as the window(s) >> >> for the Jgtk IDE. >> >> >> >> I've had good results with the following in Windows 7 - (it solves >> >> both problems mentioned above): >> >> Change the Target of the Jgtk shortcut from: >> >> "C:\Program Files\j64-701\bin\jgtk.bat" >> >> To: >> >> "C:\Program Files\j64-701\bin\jconsole.exe" gtkide >> >> >> >> Change the Target of the Jjhs shortcut from: >> >> "C:\Program Files\j64-701\bin\jhs.bat" >> >> To: >> >> "C:\Program Files\j64-701\bin\jconsole.exe" ide/jhs/core -js " >> init_jhs_'' >> >> " >> >> ---------------------------------------------------------------------- >> >> 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 >> > twitter: @flugfiskur >> > 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 >> ---------------------------------------------------------------------- >> 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 > twitter: @flugfiskur > 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
