Am Friday 09 November 2012 14:34:17 schrieb Ofnuts:
> On 11/08/2012 12:54 AM, Dexter Filmore wrote:
> > Is there a way to have a custom tool that executes commands where I
> > point?
> >
> > I'd like to have a tool that where I click takes the foreground color via
> > pipette and in the same spot immediately applies "fill" with the settings
> > the fill tool is set at.
> >
> > Script pseudo code would be:
> >
> > get cursor position
> > use pipette at cursor pos to FG color
> > apply "fill" at cursor position
> >
> > Can that be scripted?
> I don't know any way to get at the pointer coordinates when the script
> is called. There are ways to give it coordinates (using a vector), but
> this is not as dynamic.

How do you mean by using a vector, and what by "not as dynamic"?

Version: 3.12
GCS d--(+)@ s-:+ a C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?

Attachment: signature.asc
Description: This is a digitally signed message part.

gimp-user-list mailing list

Reply via email to