Windows users can have more convenient access to JHS by creating a batch
file and putting a link to it in their J701 folder on the start menu.

Create a text file with these contents:

   @ECHO OFF
   title JHS
   SET portnum=1500

   start http://127.0.0.1:%portNum%/jijx
   echo jhs %portNum% | "%~dp0jconsole.exe" 

save it as C:\Program Files\j701\bin\jhs.bat .  Right click on this file,
and drag it to the Start>Programs>j701> folder on your start menu, release
the mouse button, and select "Create shortcuts here".  This will create a
shortcut to the batch file on your start menu, and close the start menu.  

Re-open the start menu folder Start>Programs>j701> and right click on the
new shortcut ("Shortcut to jhs.bat"), and select "Properties" at the
bottom of the menu.  On the Shortcut tab, select "Minimized" from the
"Run" dropdown.  Hit the "Change Icon" button and paste 
%ProgramFiles%\j701\bin\icons\jred.ico in the text field, select the red
icon, and click OK.  Finally, on the General tab, change the name of the
icon to  j70jhs  .

Now you can click on this icon at any time to launch JHS and a browser page
pointing at it, so it's like an application.

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to