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 ; }
runs a prython script on the current thread , passing a string argument , which the script can retrieve using the getargument function . returns , as a string , the value of the variable ` result ' . for example , a python script containing the line `` result = 123 '' will return the string `` 123 '' . uses the plugin at http://imagej.nih.gov/ij/plugins/jython/ 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 void run concode_elem_sep String runBeanShell concode_elem_sep String runMacroFile concode_elem_sep boolean downloadJar concode_elem_sep String runScript concode_elem_sep String runMacro