Skip to content, Skip to search

Changes

Jython Scripting

3 bytes added, 12 June
m
- With IJ.log(): Correct code formatting
==== - With IJ.log() ====
<pre><codesource lang=python>
from ij import IJ
IJ.log("Hello world")
IJ.log("This is a string followed by an int " + str(10))
</code></presource>
Contrary to the print statement the log function display some output into a log window (newly open if not already open), and accept only a string as argument.
 
 
=== Image selection using the GenericDialog class ===
Emailconfirmed
91
edits