Groups > Corel > Corel Paint Shop Pro Scripting > Re: Default SCRIPT CAN be changed afterall




Re: Script Error

Re: Script Error
Wed, 2 Apr 2008 07:54:23 -0400
Give me more information, Jan - what type of image/layer did you run the 
script on?????  Suz

Jan Shim wrote:
> The script flagged an error "Command could not complete because the
> selection type is unsupported"
>
> "SuzShook" <suzshook@roadrunner.com> wrote in message
> news:47f25d31_2@cnews...
>> I'm not sure what you're doing, Jan, but I suspect you have more
>> than one script with the same name, and you're not executing the one
>> you think you are!  The factory default values are actually 10, 10,
>> 50, 5 - that's another reason I suspect you're not running the
>> script you recorded.  One way to check that is to click on the
>> droplist arrow in the Script toolbar, browse to the script, and
>> hover over its name - the tooltip will give you the path to the
>> script (see attached image).  Another clue is that you say
>> "regardless of whether the script is set to Default, Interactive
or
>> Silent, the Drop Shadow box still prompts" - this tells me you're
>> executing a script that has Interactive hard-coded in the script. When

>> you find that script, I'll be the DropShadow step looks like
>> this:  # Drop Shadow
>>    App.Do( Environment, 'DropShadow', {
>>            'Blur': 3,
>>            'Color': (0,0,0),
>>            'Horizontal': 5,
>>            'NewLayer': App.Constants.Boolean.false,
>>            'Opacity': 50,
>>            'Vertical': 5,
>>            'GeneralSettings': {
>>                'ExecutionMode':
>>                App.Constants.ExecutionMode.Interactive,
>>                'AutoActionMode': App.Constants.AutoActionMode.Match }
>>            })
>>
>> I've attached a script I just recorded, then edited so that the
>> script ExecutionMode is set to Silent.  It runs fine for me in all
>> versions, including PSP 9, and gives me the settings coded in the
>> script - the 3, 3, 50, 15.  Give it a try and let me know what
>> happens.  Suz Jan Shim wrote:
>>> Spandex/SuzShook
>>>
>>> I have tried scripting this countless times in the past and it
>>> failed. I've just given it another go and the script would not
>>> record the numerical value changes in OFFSET and ATTRIBUTES. Also,
>>> regardless of whether the script is set to Default, Interactive or
>>> Silent, the Drop Shadow box still prompts.
>>>
>>> The factory default values are Vertical 5 Horiz 5 and Opacity 50
>>> Blur 3.00 and even after I've changed these to 3, 3, 50, 15 during

>>> script
>>> recording, running it afterwards, the Drop Shadow box prompts with
>>> the factory defaults. I must have missed a step or two.
>>>
>>>
>>> Jan
>>>
>>> "SuzShook" <suzshook@roadrunner.com> wrote in
message
>>> news:47f21a8d$1_1@cnews...
>>>> You can't change the factory default values, but you could
record a
>>>> script with your custom values, bind that script to an icon,
and
>>>> then define a shortcut key/key sequence for that script - then,
at
>>>> the touch of a button, you have your favorite Drop Shadow. 
Suz
>>>>
>>>> --
>>>> Suz Shook
>>>> C-Tech Volunteer
>>>>
>>>>
>>>> Jan Shim wrote:
>>>>> Hello!
>>>>>
>>>>> I am using PSP 9 and I use the Drop Shadow feature a lot.
So much
>>>>> so that I now find the extra steps of selecting my custom
preset
>>>>> annoying. It won't allow me to overwrite the default values
so I
>>>>> wonder if/where I should go to change the factory values.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> Jan Shim
>>>>> www.janshim.com 

Post Reply
Re: Default SCRIPT CAN be changed afterall
Wed, 2 Apr 2008 09:46:20 -0400
So your script is now working for you????

Jan Shim wrote:
> Overwhelmed with information here, I went about finding the cause of
> the errors ONLY to discover the original script called FULL IMAGE
> DROP SHADOW can be edited with the values I want, something that
> hadn't occured to me before as I recorded a script that ran another
> script. That was the problem!
> Changes was needed to the original script that's why the values I
> changed during recording were not reflected at all.
>
> Thanks for your help!
>
> Jan
>
> "SuzShook" <suzshook@roadrunner.com> wrote in message
> news:47f37382$1_2@cnews...
>> Give me more information, Jan - what type of image/layer did you run
>> the script on?????  Suz
>>
>> Jan Shim wrote:
>>> The script flagged an error "Command could not complete
because the
>>> selection type is unsupported" 

Post Reply
Re: Script Error
Wed, 2 Apr 2008 17:57:12 +0800
The script flagged an error "Command could not complete because the 
selection type is unsupported"

"SuzShook" <suzshook@roadrunner.com> wrote in message 
news:47f25d31_2@cnews...
> I'm not sure what you're doing, Jan, but I suspect you have more than one 
> script with the same name, and you're not executing the one you think you 
> are!  The factory default values are actually 10, 10, 50, 5 - that's 
> another reason I suspect you're not running the script you recorded.  One 
> way to check that is to click on the droplist arrow in the Script toolbar,

> browse to the script, and hover over its name - the tooltip will give you 
> the path to the script (see attached image).  Another clue is that you say

> "regardless of whether the script is set to Default, Interactive or 
> Silent, the Drop Shadow box still prompts" - this tells me you're 
> executing a script that has Interactive hard-coded in the script.  When 
> you find that script, I'll be the DropShadow step looks like this:
>
>    # Drop Shadow
>    App.Do( Environment, 'DropShadow', {
>            'Blur': 3,
>            'Color': (0,0,0),
>            'Horizontal': 5,
>            'NewLayer': App.Constants.Boolean.false,
>            'Opacity': 50,
>            'Vertical': 5,
>            'GeneralSettings': {
>                'ExecutionMode': App.Constants.ExecutionMode.Interactive,
>                'AutoActionMode': App.Constants.AutoActionMode.Match
>                }
>            })
>
> I've attached a script I just recorded, then edited so that the script 
> ExecutionMode is set to Silent.  It runs fine for me in all versions, 
> including PSP 9, and gives me the settings coded in the script - the 3, 3,

> 50, 15.  Give it a try and let me know what happens.  Suz
>
> Jan Shim wrote:
>> Spandex/SuzShook
>>
>> I have tried scripting this countless times in the past and it
>> failed. I've just given it another go and the script would not record
>> the numerical value changes in OFFSET and ATTRIBUTES. Also,
>> regardless of whether the script is set to Default, Interactive or
>> Silent, the Drop Shadow box still prompts.
>>
>> The factory default values are Vertical 5 Horiz 5 and Opacity 50 Blur
>> 3.00 and even after I've changed these to 3, 3, 50, 15 during script
>> recording, running it afterwards, the Drop Shadow box prompts with
>> the factory defaults. I must have missed a step or two.
>>
>>
>> Jan
>>
>> "SuzShook" <suzshook@roadrunner.com> wrote in message
>> news:47f21a8d$1_1@cnews...
>>> You can't change the factory default values, but you could record
a
>>> script with your custom values, bind that script to an icon, and
>>> then define a shortcut key/key sequence for that script - then, at
>>> the touch of a button, you have your favorite Drop Shadow.  Suz
>>>
>>> --
>>> Suz Shook
>>> C-Tech Volunteer
>>>
>>>
>>> Jan Shim wrote:
>>>> Hello!
>>>>
>>>> I am using PSP 9 and I use the Drop Shadow feature a lot. So
much so
>>>> that I now find the extra steps of selecting my custom preset
>>>> annoying. It won't allow me to overwrite the default values so
I
>>>> wonder if/where I should go to change the factory values.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> Jan Shim
>>>> www.janshim.com
>
>
> 

Post Reply
Default SCRIPT CAN be changed afterall
Wed, 2 Apr 2008 20:54:49 +0800
Overwhelmed with information here, I went about finding the cause of the 
errors ONLY to discover the original script called FULL IMAGE DROP SHADOW 
can be edited with the values I want, something that hadn't occured to me 
before as I recorded a script that ran another script. That was the problem!

Changes was needed to the original script that's why the values I changed 
during recording were not reflected at all.

Thanks for your help!

Jan

"SuzShook" <suzshook@roadrunner.com> wrote in message 
news:47f37382$1_2@cnews...
> Give me more information, Jan - what type of image/layer did you run the 
> script on?????  Suz
>
> Jan Shim wrote:
>> The script flagged an error "Command could not complete because
the
>> selection type is unsupported"

Post Reply
Re: Default SCRIPT CAN be changed afterall
Wed, 2 Apr 2008 22:40:52 +0800
Yes.

"SuzShook" <suzshook@roadrunner.com> wrote in message 
news:47f38dbf$1_1@cnews...
> So your script is now working for you????
>
> Jan Shim wrote:
>> Overwhelmed with information here, I went about finding the cause of
>> the errors ONLY to discover the original script called FULL IMAGE
>> DROP SHADOW can be edited with the values I want, something that
>> hadn't occured to me before as I recorded a script that ran another
>> script. That was the problem!
>> Changes was needed to the original script that's why the values I
>> changed during recording were not reflected at all.
>>
>> Thanks for your help!
>>
>> Jan
>>
>> "SuzShook" <suzshook@roadrunner.com> wrote in message
>> news:47f37382$1_2@cnews...
>>> Give me more information, Jan - what type of image/layer did you
run
>>> the script on?????  Suz
>>>
>>> Jan Shim wrote:
>>>> The script flagged an error "Command could not complete
because the
>>>> selection type is unsupported"
>
> 

Post Reply
about | contact