I wrote up a script to do this and posted it to the wiki in case anyone
else finds it useful

http://www.jsoftware.com/jwiki/JoeBogner/InlineDictionary




On Tue, Oct 15, 2013 at 7:04 AM, Joe Bogner <[email protected]> wrote:

> jhs makes rendering it a snap
>
> html=:gethttp_wgethttp_ 'http://www.jsoftware.com/help/',page,'.htm'
> jhtml html
>
> that could work for now
>
>
> On Tue, Oct 15, 2013 at 6:54 AM, Joe Bogner <[email protected]> wrote:
>
>> Is there a utility to query the dictionary in the J session without
>> causing a web browser to open?
>>
>> It'd be similar to context sensitive help but brings the result text
>> right into the session. It might need some logic to reformat the HTML into
>> a readable plain text representation
>>
>> Along those sames lines, is there a way to invoke the help without using
>> context sensitive help? Something like  help ';' even if that opens up the
>> browser that could be helpful instead of searching manually or typing the
>> word and hitting ctrl+f1
>>
>> If it's not written already, it looks like it wouldn't be too much work
>> using jqt as a starting point
>>
>> require '~addons/ide/qt/help.ijs'
>> require '~addons/web/gethttp/gethttp.ijs'
>>
>> help=:conew 'jqtide'
>>
>>
>> ] page=.helpsel__help ';'
>>
>> NB. dictionary/d330
>>
>>
>> gethttp_wgethttp_ 'http://www.jsoftware.com/help/',page,'.htm'
>>
>> As mentioned, this would need some parsing logic to make it more readable
>>
>>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to