#!/usr/bin/env python from gimpfu import *import pyperclip def xx(img, dunno) : #img = gimp.image_list()[-1] tf, x1, y1, x2, y2 = pdb.gimp_selection_bounds(img) if tf : txt = "{},{},{}".format( x1, y1, x2-x1 ) pdb.gimp_message( txt ) pyperclip.copy(txt) register( "python_fu_rect_info", "Prints coordinates of rect", "Prints coordinates of rect", "jdj", "jdj", "2016", "/Filters/Python-Fu/_Rect", "..