It is currently Sun Jul 21, 2024 6:15 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 3:14 pm  (#21) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Quote:
Actually, my suggestion was that the command be registered in the "Paste" subgroup of the Edit Menu (not the "Paste As" submenu).

This is an as yet undocumented (or at least not-well-documented) feature of 'plug-in-menu-register' (I am currently in the process of creating some documentation for it) which affords greater control of where third-party commands get placed in the menu structure.


ooooooh! I had missed that subtlety in your comment at the GPR (not realizing that such a thing could be done...) That's just brilliant! How on earth did you figure that one out?

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 3:57 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
RobA wrote:
That's just brilliant! How on earth did you figure that one out?

Pretty much from following the developers' GIT log (I haven't seen documentation on it yet).

I am about halfway through documenting this feature, but if you check the menus/image-menu.xml.in for lines that mention "placeholder", you will be off to a good start of finding all of the menu "subgroups".

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Tue Sep 27, 2011 5:09 pm  (#23) 
Offline
GimpChat Member

Joined: Mar 29, 2011
Posts: 346
Location: Wisconsin
The information also appears to be contained in the file
C:\Program Files\GIMP-2.0\share\gimp\2.0\menus\image-menu.xml
(windows directory structure)

That directory contains XML files for all of the GIMP menu structures.

_________________
Image


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Wed Sep 28, 2011 4:07 am  (#24) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Great tip Saulgoode : finally know how to fix the position of a couple of misplaced script

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Rob A's Paste into selection script
PostPosted: Wed Sep 28, 2011 8:18 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
This is actually a pretty nice script.Even enlarging in larger scale works nicely.Hardly any deformation of the larger scaled layer at all. :)

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts How to resize image after "paste into selection"?

2

No new posts Attachment(s) Is there a script for doing Stroke outside selection?

4

No new posts Attachment(s) Script for selecting, cropping the selection and saving the file

8

No new posts copy/paste photos disappear when moved.

9

No new posts Quick Doogle to Cut and Paste - Collage Maker

2



* Login  



Powered by phpBB3 © phpBB Group