Hi Martin -
First, your questions would be better directed to the gimp-user (instead of
gimp-developer) list. And I can also recommend the script-fu group on yahoo.
To answer your question: you can avoid creating the intermediate variable by
(car (gimp-edit-paste target-layer FALSE)))
To ensure that your selection winds up in the same place in the new layer, try
(if you can)
making sure that the layer from which you get your selection is the same size
as the image, using (perl-fu-layer-to-image-size 1) . This works on the
active layer only, and may not work on windows systems lacking perl-fu support.
Jeff Trefftzs <[EMAIL PROTECTED]>
http://www.tcsn.net/trefftzs Home Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/ Photo Gallery
Gimp-developer mailing list