This question has been raised several times in the old mailing list and a function seems to exist getSelectionCoordinates
but it is only available for IJ macro language.
How can I get it inside Python ?
I looked for the javadoc and imagej source code but I found nothing…