Oleg suggested:
>Maybe it could work together with J DDE support?

I thought of this; unfortunately, J DDE support was decommitted in v6.01.  See 
the last line of:

   http://www.jsoftware.com/help/user/relhigh.htm

One solution would be to :

   (A)  change the explorer command to 
        load a special script, and pass the filename
        of the script to open as its parameter.
   
   (B)  The special script would map a file in ~temp

   (C)  If that file was an integer > _1 , it would
        treat the integer a port number, open a socket
        to that port on the local machine, send
        the filename parameter over it, then send CRLF
        then close the socket and shutdown J.

   (D)  If the file was NOT an integer > _1 , or didn't 
        exist, or was gibberish, etc, then the special
        script would bind a random an async socket to
        a local port, and store that port number in the 
        mapped file.  Then it would open the parameter file.  
        It would listen on the socket, cut messages on CRLF,
        and open the files named in each partition.

   (E)  When the "Server" J session shut down, it would 
        write _1 to the file, unmap it, shutdown the socket
        and close J.

I'll put this together tonight or tomorrow, but I'm leaving the office now

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

Reply via email to