I do not use projects, in part because they are not supported in jhs.
But it should be simple enough.
To get you started, put this into your run.ijs for your project and then run it:
example=:3 :0
smoutput 'hi, my name is ',;(4!:4<'example2'){a:,~4!:3''
)
example''
Obviously, you'll want to trim off the file name and the silly example
text, but I think that that should get you where you want to be, or
close to it.
Thanks,
--
Raul
On Mon, Apr 27, 2015 at 11:31 AM, Neill Robson
<[email protected]> wrote:
> I'm trying to write a user-defined shortcut in j803 that works similarly to
> F9 (run) and Ctrl+F9 (build), in that it runs the appropriately-named
> script within the current project folder.
>
> Is there any way one can query the IDE to return the open project's root
> directory to create user-defined operations like this? I've been told that
> this was easier in the older IDEs written in J, but given that j803's
> interface is written in C the task will be considerably harder.
>
> Any thoughts?
>
> --
> -Neill
>
> --
>
>
> *This message originated from Raleigh Charter High School, a public charter
> school in Raleigh. All e-mail correspondence to and from this address is
> subject to the North Carolina Public Records Law as defined under N.C.G.S.
> ยง132.1, which may result in monitoring or disclosure to third parties,
> including law enforcement.*
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm