The code is correct but that directory and files inside are missing. Files from J602 have been added for editing, please pacman update the docs/help addon. ATM some of its content is out-dated.
Птн, 21 Янв 2011, Mike Day писал(а): > Most GTK help menu options work for me, using the > material installed in j701/addons/docs/help. > > However, help|index points at > http://www.jsoftware.com/docs/help701/index/a.htm > resulting in a 404 error. > > Presumably easy enough to put right, though I can't find > the relevant code. > > Mike > > On 20/01/2011 20:08, David Mitchell wrote: > > I was puzzled when none of the 'help' menu options did anything in J7 GTK. > > I > > looked at the code and saw that I needed to configure a hard-coded path to > > my > > browser of choice. > > > > Being lazy, I offer this small change to stdlib.ijs that eliminates the > > need to > > specify a browser in J7 and allows J7 to use the Windows system file > > associations. I have tested it on Win7 and WinXP successfully. > > > > NB. Insert 1 > > ShellExecute=: 'shell32 ShellExecuteA i i *c *c *c *c i'&cd > > SW_SHOWNORMAL=:1 > > NULL=:<0 > > NB. End Insert 1 > > browse=: 3 : 0 > > cmd=. deb y > > isURL=. 1 e. '://'&E. > > if. IFJHS do. > > cmd=. '/' (I. cmd='\') } cmd > > if. -. isURL cmd do. > > if. -.fexist cmd do. EMPTY return. end. > > cmd=. 'file://',cmd > > end. > > redirecturl_jijxm_=: cmd > > EMPTY return. > > end. > > NB. Insert 2 > > if. IFWIN do. > > cmd=. '/' (I. cmd='\') } cmd > > if. -. isURL cmd do. > > if. -.fexist cmd do. EMPTY return. end. > > cmd=. 'file://',cmd > > end. > > ShellExecute(0;'open';cmd;NULL;NULL;SW_SHOWNORMAL) > > EMPTY return. > > end. > > NB. End Insert 2 > > ---------------------------------------------------------------------- > > For information about J forums seehttp://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
