I think it is rather un-usual to launch a browser upon starting jhs, because that will be analogous to launch a browser upon starting apache or iis, and at any rate the client machine is impossible to see a browser running in server.
Сбт, 08 Янв 2011, Eric Iverson писал(а): > Perhaps not a good idea for users to edit core.ijs. > > I don't want to hardwire in the start of a browser with the jijx url as many > use cases don't want this. At minimum this would have to added to the jhs > config and I would like to avoid that complexity. Starting jhs and opening a > URL should not be wired together. > > I wonder if you could get what you want by customizing your install as > follows (hand waving): > > 1. create script autourl.ijs that defines startj appropriate for platform, > browser, and url. > > 2. create jhsx.bat file similar to jhs.bat with extra sentences to load > autourl.ijs and do startj'' after the init call. > > 3. create desktop icon to run jhsx.bat > > On Sat, Jan 8, 2011 at 5:33 AM, David Mitchell <[email protected]>wrote: > > > Update addons/ide/jhs/core.ijs: > > > > require'dll' > > > > ShellExecute=: 'shell32 ShellExecuteA i i *c *c *c *c i'&cd > > > > SW_SHOWNORMAL=:1 > > > > NULL=:<0 > > > > startj=: 3 : 0 > > ShellExecute(0;'open';' > > http://127.0.0.1:65001/jijx';NULL;NULL;SW_SHOWNORMAL) > > ) > > > > Update init: > > > > change > > > > jfe 1 > > ) > > > > to > > jfe 1 > > if. IFWIN do. > > startj'' NB. DM 2011 01 08 > > end. > > ) > > > > For me, on Win7_64, this starts a jijx browser window automatically after > > starting j701jhs. > > > > > > ---------------------------------------------------------------------- > > 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
