<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div id="yiv1259834873"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div>Hello <span class="yshortcuts cs4-visible" id="lw_1343677333_0">IJ</span> developers,</div><div>I
have been using a macro for processing multiple choice surveys for a
while. I wrote this macro from scratch (it was not recorded on the UI)
for IJ1 and it works very well on IJ1. I have been trying to migrate to
IJ2 so that i can move my processing to the cloud.</div><div><br></div><div>I
have also written some java code to preprocess the images i receive and use
IJ as a library within my code. I use IJ.runMacroFile(...) to run the
macro that i wrote for further image processing using IJ. I use the results returned by the IJ.runMacroFile(...) for my output.<br></div><div><br></div><div>I
am stuck trying to replicate this behavior on IJ2. I
looked at the code for the ScriptPlugin.java and various other files in
the plugins.script package but have no clue on how to get similar
functionality as IJ.runMacroFile(..).</div><div><br></div><div>Any pointers on how i can get this done will be very helpful.</div><div><br></div><div>-raghuram<br></div></div></div></div> </div></body></html>