Hi John,

A possible near miss for JHS 

NB. In Unix based systems this works. x specifies the opening application and y 
the document
NB. eg. 'TextWrangler' CallEdit '/Users/jay/test1.html' makes the TextWrangler 
application open the test1.html document

CallEdit=: 4 : 0
2!:1 [ 'open -a ',x,' ',y
)

I haven't found a way to create a tab, although this may be child's play to 
someone who actually knows what they are doing :) 

cheers, bob

On 2011-01-30, at 8:47 AM, John Baker wrote:

> open works like a charm in gtk - thanks everyone.  Eventually somebody will
> figure out how to open browser edit tabs in JHS.
> 
> jdb
> 
> On Fri, Jan 28, 2011 at 9:34 PM, chris burke <[email protected]> wrote:
> 
>> The "open" verb already does this, but could be extended to include
>> the optional line number.
>> 
>> On Sat, Jan 29, 2011 at 9:08 AM, bill lam <[email protected]> wrote:
>>> something like this.
>>> 
>>> ed=: 3 : 0
>>> l=. locEdit_jgtkide_
>>> edit_opentab_show__l y
>>> 1
>>> )
>>> 
>>> ed 'c:/the/script/to/edit.ijs'
>>> 
>>> you can also specify an optional line number.
>>> 
>>> ed 'c:/the/script/to/edit.ijs';10;0
>>> 
>>> Птн, 28 Янв 2011, John Baker писал(а):
>>>> I am in the process of updating JOD for j701.  One of most useful JOD
>> verbs
>>>> is "ed" which fetches a
>>>> a word, (or many words), from JOD databases, formats them as a script,
>> and
>>>> then opens that script for editing in what was a wd (.ijs) window.
>>>> 
>>>> How do you open a script for editing in JGTK from the terminal session?
>> I
>>>> see the command on the
>>>> JGTK menu so it must be buried in there somewhere.  I would like
>> something
>>>> like:
>>>> 
>>>> editverb 'c:/the/script/to/edit.ijs'
>>>> 
>>>> or
>>>> 
>>>> editverb 'some big long character list that just happens to be a j
>> script'
>>>> 
>>>> Extra points for doing exactly the same thing in the JHS environment -
>>>> opening a new browser tab with an
>>>> arbitrary script for editing.
>>>> 
>>>> 
>>>> jdb
>>>> 
>>>> --
>>>> John D. Baker
>>>> [email protected]
>>>> ----------------------------------------------------------------------
>>>> 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
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>> 
> 
> 
> 
> -- 
> John D. Baker
> [email protected]
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to