Posted by
Barton, Robert on
Aug 07, 2007; 8:27pm
URL: http://imagej.273.s1.nabble.com/Running-BASIC-program-from-w-in-a-Macro-tp3698695p3698697.html
Glad I could bring some amusement to your day Curtis. :-)
The BASIC program is extremely short, but I was just going to use it based upon my lack of familiarity with Java.
I was hoping there was a macro function that I had overlooked that would call the compiled program to run in the Command Prompt outside of ImageJ rather than adapting an interpreter into a plugin, etc.
________________________________
From: ImageJ Interest Group on behalf of Curtis Rueden
Sent: Tue 8/7/2007 2:57 PM
To:
[hidden email]
Subject: Re: Running BASIC program from w/in a Macro
Hi Robert,
That's the most amusing request I've seen in a while. :-)
My first thought was to find a BASIC interpreter written in Java that
you could adapt into a plugin and thus call from a macro. I found one
such interpreter called Cocoa (not to be confused with the Mac OS X
Cocoa):
http://www.mcmanis.com/chuck/java/cocoa/index.htmlIt would take some programming, but should be possible to execute
BASIC from within ImageJ. How useful that is depends on what you are
trying to do in BASIC, I suppose.
On the other hand, if your BASIC program is short as you say, why not
just port it to Java?
-Curtis
On 8/7/07, Robert Barton <
[hidden email]> wrote:
> Hi all,
>
> I was wondering if it is possible to open and run a short BASIC program
> from within a macro.
>
> Thanks!
>