Groups > Corel > Corel Paint Shop Pro X > Re: How to fill a selection?




Re: How to fill a selection?

Re: How to fill a selection?
Sat, 16 Feb 2008 14:42:00 -050
You can do it with a script, Nathan.  The attached script will fill any 
(all) selection(s) in the image using the Foreground Material.  It first 
checks to be sure there is a selection.  This script uses Gary Bartons 
FindSelectionPoint to ensure the fill point is within the selection.  If you 
bind this script to an icon, and then assign a keyboard shortcut to it, you 
can fill the selection(s) with a single keystroke!  Let me know if it serves 
your needs.  Suz
Nathan Gutman wrote:
> I have a selection which I would want to Flood Fill. I know that I can
> use the mouse to bring the Flood Fill Tool to the selection and left
> or right click.
> I am looking for one command to do it similar to what Photoshop
> Elements has in Edit>Fill Selection.
> Thanks,
> Nathan 
Post Reply
Re: How to fill a selection?
Sat, 16 Feb 2008 17:30:50 -050
SuzShook wrote:
> Nathan Gutman wrote:
>> I have a selection which I would want to Flood Fill. I know
>> that I can use the mouse to bring the Flood Fill Tool to the
>> selection and left or right click.
>> I am looking for one command to do it similar to what
>> Photoshop Elements has in Edit>Fill Selection.
>> Thanks,
>
> You can do it with a script, Nathan.  The attached script will
> fill any (all) selection(s) in the image using the Foreground
> Material.  It first checks to be sure there is a selection.
> This script uses Gary Bartons FindSelectionPoint to ensure the
> fill point is within the selection.  If you bind this script
> to an icon, and then assign a keyboard shortcut to it, you can
> fill the selection(s) with a single keystroke!  Let me know if
> it serves your needs.  Suz

Nathan, make sure the Flood Fill tool has the material you want 
before invoking the script. Or check "All tools" in the Materials 
palette. Otherwise you might be astonished at what material the FF 
tool uses.
-- 
Fred Hiltz,  fhiltz at yahoo dot com 


Post Reply
Re: How to fill a selection?
Sat, 16 Feb 2008 19:52:04 -050
SuzShook wrote:
> You can do it with a script, Nathan.  The attached script will fill any 
> (all) selection(s) in the image using the Foreground Material.  It first 
> checks to be sure there is a selection.  This script uses Gary Bartons 
> FindSelectionPoint to ensure the fill point is within the selection.  If
you 
> bind this script to an icon, and then assign a keyboard shortcut to it, you

> can fill the selection(s) with a single keystroke!  Let me know if it
serves 
> your needs.  Suz
> 
> Nathan Gutman wrote:
>> I have a selection which I would want to Flood Fill. I know that I can
>> use the mouse to bring the Flood Fill Tool to the selection and left
>> or right click.
>> I am looking for one command to do it similar to what Photoshop
>> Elements has in Edit>Fill Selection.
>> Thanks,
>> Nathan 
> 
> 
Thanks for the script. I really have a lots to learn. Actually I wanted 
to simulate the Elements Stroke Selection.
So, in PSPX I make a selection then go to Selection>Modify>Select 
Selection Borders, set the width and fill the border. This results in 
the same as the Stroke Selection.

How/where do I bind a script to an icon and assign keyboard shortcuts to it?
And thank you again,
Nathan
Post Reply
Re: How to fill a selection?
Sat, 16 Feb 2008 20:23:23 -050
Nathan Gutman wrote:
[snip]
> How/where do I bind a script to an icon and assign keyboard
> shortcuts to it?

Help > Contents > Automating Tasks > Binding Scripts to Icons

Help > Contents > Customizing Corel Paint Shop Pro > Customizing 
Keyboard Shortcuts
-- 
Fred Hiltz,  fhiltz at yahoo dot com 


Post Reply
about | contact