Re: [Gimp-user] create a custom tool or run script at cursor?
Am Monday 12 November 2012 09:18:07 schrieb Ofnuts: On 11/11/2012 03:31 AM, Dexter Filmore wrote: Am Friday 09 November 2012 14:34:17 schrieb Ofnuts: 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? See http://gimp.open-source-solution.org/manual/gimp-tool-path.html It's not as dynamic because you have to set the path, then switch to the script, providing the path. It's not like a tool that uses the mouse clicks directly. ___ gimp-user-list mailing list gimp-user-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-user-list That would actually work almost quite as well if one can get the script only to do things at the nodes. Possible? -- -BEGIN GEEK CODE BLOCK- 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? --END GEEK CODE BLOCK-- signature.asc Description: This is a digitally signed message part. ___ gimp-user-list mailing list gimp-user-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] create a custom tool or run script at cursor?
On 11/11/2012 03:31 AM, Dexter Filmore wrote: Am Friday 09 November 2012 14:34:17 schrieb Ofnuts: 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? See http://gimp.open-source-solution.org/manual/gimp-tool-path.html It's not as dynamic because you have to set the path, then switch to the script, providing the path. It's not like a tool that uses the mouse clicks directly. ___ gimp-user-list mailing list gimp-user-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-user-list
Re: [Gimp-user] create a custom tool or run script at cursor?
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. ___ gimp-user-list mailing list gimp-user-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-user-list
[Gimp-user] create a custom tool or run script at cursor?
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? -- -BEGIN GEEK CODE BLOCK- 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? --END GEEK CODE BLOCK-- signature.asc Description: This is a digitally signed message part. ___ gimp-user-list mailing list gimp-user-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-user-list