This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > March 2006 > Script for setting tools options
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Script for setting tools options
|
|
| Arkadiusz Stankiewicz 2006-03-08, 3:19 am |
| Hi All,
I was trying record script for setting Magic Wand Tool option (like mode,
match mode, tolerance etc.). I have no succes because sript recorder save
tools setting only after clicking Magic Wand on picture. I looking for
possibility to have script assigned with icon/button on my toolbar and
script only setting Magic Wand Tool options not clicking picture. I need
click myself on appropriate part of picture.
How I can write script like this?
Best Wishes
ArekS
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
| |
| Angela M. Cable 2006-03-08, 6:23 pm |
| Arkadiusz Stankiewicz wrote:
> Hi All,
>
> I was trying record script for setting Magic Wand Tool option (like
> mode, match mode, tolerance etc.). I have no succes because sript
> recorder save tools setting only after clicking Magic Wand on picture.
> I looking for possibility to have script assigned with icon/button on
> my toolbar and script only setting Magic Wand Tool options not clicking
> picture. I need click myself on appropriate part of picture.
> How I can write script like this?
You can save the settings for the magic wand as a tool preset. Using
those settings in a script, I'm pretty sure that you have to have a
specific point in the image to click on.
--
Angela M. Cable
Paint Shop Pro 8, 9, X Private Beta Tester
Neocognition, digital scrapbooking source:
http://www.neocognition.com/
PSP Tutorial Links:
http://www.psplinks.com/
5th Street Studio, free graphics, websets and more:
http://www.fortunecity.com/westwood/alaia/354/
| |
| SuzShook 2006-03-08, 6:23 pm |
| Hi, Arek. I don't think there's any way to actually set tool parameters
from a script, without using the tool, as you noted. You can pre-set the
tool options you want in the Tool Options palette and then capture and use
them in a script, but I don't think that's what you want. Being able to
preset tool options in a script is a much needed script enhancement. Suz
Arkadiusz Stankiewicz wrote:
> Hi All,
>
> I was trying record script for setting Magic Wand Tool option (like
> mode, match mode, tolerance etc.). I have no succes because sript
> recorder save tools setting only after clicking Magic Wand on
> picture. I looking for possibility to have script assigned with
> icon/button on my toolbar and script only setting Magic Wand Tool
> options not clicking picture. I need click myself on appropriate part
> of picture. How I can write script like this?
>
> Best Wishes
>
> ArekS
| |
| Arkadiusz Stankiewicz 2006-03-08, 6:23 pm |
| On Wed, 08 Mar 2006 14:08:18 +0100, SuzShook <suzshook@adelphia.net> wrote:
> Hi, Arek. I don't think there's any way to actually set tool parameters
> from a script, without using the tool, as you noted. You can pre-set the
> tool options you want in the Tool Options palette and then capture and
> use
> them in a script, but I don't think that's what you want. Being able to
> preset tool options in a script is a much needed script enhancement. Suz
>
> Arkadiusz Stankiewicz wrote:
Thank You all,
it is shame Python not giving in PSP X possibility setting tool options.
I resolve it like that:
Record script with appropriate tool options, Click in left upper corner
and Deselect All, saved script. It is all. Bind script to icon on toolbar.
It working (making my work faster) but it is not as elegant as I want :)
Best wishes and thank for Your help.
ArekS
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
| |
|
|
"Arkadiusz Stankiewicz" <arek@sluch.com.pl> wrote in message
news:op.s53mbuzg1y4yg6@hpdv1000...
> On Wed, 08 Mar 2006 14:08:18 +0100, SuzShook <suzshook@adelphia.net>
> wrote:
>
>
> Thank You all,
>
> it is shame Python not giving in PSP X possibility setting tool options.
> I resolve it like that:
>
> Record script with appropriate tool options, Click in left upper corner
> and Deselect All, saved script. It is all. Bind script to icon on toolbar.
> It working (making my work faster) but it is not as elegant as I want :)
>
> Best wishes and thank for Your help.
>
> ArekS
You have Lost me. How is binding the script to an icon on the tool bar
faster then clicking the wand icon, and do you intend to have a bound script
for each setting.
If its just to avoid having to wade though the selections tool to get the
wand why not Drag it out of there to its own Personal space
| |
| John Andrisan 2006-03-08, 6:23 pm |
| >it is shame Python not giving in PSP X possibility setting tool options.
Don't blame Python for limitations in PSP's method of using it. Whoever
designed the PSP part just didn't include what you want as part of the
design.
john
| |
|
| "Arkadiusz Stankiewicz" <arek@sluch.com.pl> wrote in
news:op.s52414q71y4yg6@hpdv1000.laczpol.net.pl:
> Hi All,
>
> I was trying record script for setting Magic Wand Tool option
(like
> mode, match mode, tolerance etc.). I have no succes because
sript
> recorder save tools setting only after clicking Magic Wand on
> picture. I looking for possibility to have script assigned
with
> icon/button on my toolbar and script only setting Magic Wand
Tool
> options not clicking picture. I need click myself on
appropriate part
> of picture. How I can write script like this?
>
> Best Wishes
>
> ArekS
>
I might be wrong, but you'll likely get what you want if you
actually record the script and apply the magic wand then undo the
apply. When saving the script make sure to UNcheck the "Remove
Undone Commands" box.
Regards,
JoeB
| |
| Spandex Rutabaga 2006-03-08, 6:23 pm |
| Arkadiusz Stankiewicz wrote:
>
> On Wed, 08 Mar 2006 14:08:18 +0100, SuzShook <suzshook@adelphia.net> wrote:
>
>
> Thank You all,
>
> it is shame Python not giving in PSP X possibility setting tool options.
It's got nothing to do with Python. Scripting in PSP is based around
executing commands. This means applying a tool or filter command
with some set of parameters. Changing parameters without applying
the command is not executing a command. You can change parameters a
hundred times and it won't make any difference to any image until
you execute a command that uses those parameters. Maybe this is not
attractive from your perspective but I'm sure it made sense to the
person(s) who had to implement scripting and selective undo in PSP :)
The same annoyances arise when you want to bind a preference setting
to a button, for example when trying to select the appearance of the
transparency checkerboard for contrast when erasing or for toggling
brush outlines on and off.
| |
| SuzShook 2006-03-09, 6:30 pm |
| underprocessable |
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|