runs a beanshell script on the current thread , passing a string argument , which the script can retrieve using the getargument function . returns , as a string , the last expression evaluated by the script . uses the plugin at http://imagej.nih.gov/ij/plugins/bsh/ to run the script . concode_field_sep PlaceHolder placeHolder concode_field_sep String runJavaScript concode_elem_sep String runMacroFromJar concode_elem_sep String runMacroFromIJJar concode_elem_sep String runPython concode_elem_sep void run concode_elem_sep String runMacroFile concode_elem_sep boolean downloadJar concode_elem_sep String runScript concode_elem_sep String runMacro
String function ( String arg0 , String arg1 ) { if ( arg1 == null ) arg1 = "srini_string" ; Object loc0 = IJ . runPlugIn ( "srini_string" , "srini_string" ) ; if ( loc0 == null ) { boolean loc1 = downloadJar ( "srini_string" ) ; if ( loc1 ) loc0 = IJ . runPlugIn ( "srini_string" , "srini_string" ) ; } if ( loc0 != null ) return runScript ( loc0 , arg0 , arg1 ) ; else return null ; }