Scripting + Batch Processing

I am trying to run a script in batch process mode, but I keep
getting errors, to debug, I recorded a new script with only one
step.... despeckle.

When I start the script, I set "save to" to new t ype and new
path.   This is the error I get:

------- Command Execution Failed -----------
Command Name: IncreaseColorsTo16Million
Error Text: Requested parameter not found in the repository.
------- Command Execution Failed -----------
Command Name: Despeckle
Error Text: Requested parameter not found in the repository.
Traceback (most recent call last):
  File "C:\Documents and Settings\Owner\My Documents\My PSP8
Files\Scripts-Restricted\Despeckle4.PspScript", line 13, in Do
    App.Do( Environment, 'Despeckle', {
JascApp.ParameterNotDefined: Parameter name () not found


Thanks for any help!!!  Below is the script!
Pete


from JascApp import *

def ScriptProperties():
    return {
        'Author': '',
        'Copyright': '',
        'Description': '',
        'Host': 'Paint Shop Pro',
        'Host Version': '8.00'
        }

def Do(Environment):
    App.Do( Environment, 'Despeckle', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match
                }
            })

    App.Do( Environment, 'Despeckle', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match
                }
            })

    App.Do( Environment, 'Despeckle', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match
                }
            })

    App.Do( Environment, 'Despeckle', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match
                }
            })


0
Pete
9/2/2004 2:40:48 PM
comp.paint-shop-pro 6011 articles. 0 followers. gshatterhand (27) is leader. Post Follow

4 Replies
950 Views

Similar Articles

[PageSpeed] 56

"Pete" <junk@pbsite.net> wrote in message 
news:ch7bf6$1uv$1@domitilla.aioe.org...
>I am trying to run a script in batch process mode, but I keep
> getting errors, to debug, I recorded a new script with only one
> step.... despeckle.
>
> When I start the script, I set "save to" to new t ype and new
> path.   This is the error I get:
>
> ------- Command Execution Failed -----------
> Command Name: IncreaseColorsTo16Million
> Error Text: Requested parameter not found in the repository.
> ------- Command Execution Failed -----------
> Command Name: Despeckle
> Error Text: Requested parameter not found in the repository.
> Traceback (most recent call last):
>  File "C:\Documents and Settings\Owner\My Documents\My PSP8
> Files\Scripts-Restricted\Despeckle4.PspScript", line 13, in Do
>    App.Do( Environment, 'Despeckle', {
> JascApp.ParameterNotDefined: Parameter name () not found
>
>
> Thanks for any help!!!  Below is the script!
> Pete
>
>
> from JascApp import *
>
> def ScriptProperties():
>    return {
>        'Author': '',
>        'Copyright': '',
>        'Description': '',
>        'Host': 'Paint Shop Pro',
>        'Host Version': '8.00'
>        }
>
> def Do(Environment):
>    App.Do( Environment, 'Despeckle', {
>            'GeneralSettings': {
>                'ExecutionMode': App.Constants.ExecutionMode.Default,
>                'AutoActionMode': App.Constants.AutoActionMode.Match
>                }
>            })
>
>    App.Do( Environment, 'Despeckle', {
>            'GeneralSettings': {
>                'ExecutionMode': App.Constants.ExecutionMode.Default,
>                'AutoActionMode': App.Constants.AutoActionMode.Match
>                }
>            })
>
>    App.Do( Environment, 'Despeckle', {
>            'GeneralSettings': {
>                'ExecutionMode': App.Constants.ExecutionMode.Default,
>                'AutoActionMode': App.Constants.AutoActionMode.Match
>                }
>            })
>
>    App.Do( Environment, 'Despeckle', {
>            'GeneralSettings': {
>                'ExecutionMode': App.Constants.ExecutionMode.Default,
>                'AutoActionMode': App.Constants.AutoActionMode.Match
>                }
>            })
>
>
I dont know why you have 4 copies. but apart from the coma after match my 
script [ done in 9 ] is the same and works.
from JascApp import *

def ScriptProperties():
    return {
        'Author': u'',
        'Copyright': u'',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Do(Environment):
    # EnableOptimizedScriptUndo
    App.Do( Environment, 'EnableOptimizedScriptUndo', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match,
                'Version': ((9,0,0),1)
                }
            })

    # Despeckle
    App.Do( Environment, 'Despeckle', {
            'GeneralSettings': {
                'ExecutionMode': App.Constants.ExecutionMode.Default,
                'AutoActionMode': App.Constants.AutoActionMode.Match,
                'Version': ((9,0,0),1)
                }
            })


 


0
Trev
9/2/2004 3:25:15 PM
I need despeckle to be run 4 times on each image through batch mode. ..

Im still getting the error
 JascApp.ParameterNotDefined: Parameter name () not found

Thanks if anyone know's whats causing this.

Pete

"Trev" <trevbowdenATwireless.pipexDOTnet> wrote in message
news:10jeeqtq3buvqaa@corp.supernews.com...
>
> "Pete" <junk@pbsite.net> wrote in message
> news:ch7bf6$1uv$1@domitilla.aioe.org...
> >I am trying to run a script in batch process mode, but I keep
> > getting errors, to debug, I recorded a new script with only one
> > step.... despeckle.
> >
> > When I start the script, I set "save to" to new t ype and new
> > path.   This is the error I get:
> >
> > ------- Command Execution Failed -----------
> > Command Name: IncreaseColorsTo16Million
> > Error Text: Requested parameter not found in the repository.
> > ------- Command Execution Failed -----------
> > Command Name: Despeckle
> > Error Text: Requested parameter not found in the repository.
> > Traceback (most recent call last):
> >  File "C:\Documents and Settings\Owner\My Documents\My PSP8
> > Files\Scripts-Restricted\Despeckle4.PspScript", line 13, in Do
> >    App.Do( Environment, 'Despeckle', {
> > JascApp.ParameterNotDefined: Parameter name () not found
> >
> >
> > Thanks for any help!!!  Below is the script!
> > Pete
> >
> >
> > from JascApp import *
> >
> > def ScriptProperties():
> >    return {
> >        'Author': '',
> >        'Copyright': '',
> >        'Description': '',
> >        'Host': 'Paint Shop Pro',
> >        'Host Version': '8.00'
> >        }
> >
> > def Do(Environment):
> >    App.Do( Environment, 'Despeckle', {
> >            'GeneralSettings': {
> >                'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                'AutoActionMode': App.Constants.AutoActionMode.Match
> >                }
> >            })
> >
> >    App.Do( Environment, 'Despeckle', {
> >            'GeneralSettings': {
> >                'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                'AutoActionMode': App.Constants.AutoActionMode.Match
> >                }
> >            })
> >
> >    App.Do( Environment, 'Despeckle', {
> >            'GeneralSettings': {
> >                'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                'AutoActionMode': App.Constants.AutoActionMode.Match
> >                }
> >            })
> >
> >    App.Do( Environment, 'Despeckle', {
> >            'GeneralSettings': {
> >                'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                'AutoActionMode': App.Constants.AutoActionMode.Match
> >                }
> >            })
> >
> >
> I dont know why you have 4 copies. but apart from the coma after match my
> script [ done in 9 ] is the same and works.
> from JascApp import *
>
> def ScriptProperties():
>     return {
>         'Author': u'',
>         'Copyright': u'',
>         'Description': u'',
>         'Host': u'Paint Shop Pro 9',
>         'Host Version': u'9.00'
>         }
>
> def Do(Environment):
>     # EnableOptimizedScriptUndo
>     App.Do( Environment, 'EnableOptimizedScriptUndo', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match,
>                 'Version': ((9,0,0),1)
>                 }
>             })
>
>     # Despeckle
>     App.Do( Environment, 'Despeckle', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match,
>                 'Version': ((9,0,0),1)
>                 }
>             })
>
>
>
>
>


0
Pete
9/2/2004 4:09:13 PM
There is nothing wrong with the script.  You should update to PSP 8.10.  If
you are still having problems. contacting Jasc tech support may also prove
useful.

"Pete" <junk@pbsite.net> wrote in message
news:ch7bf6$1uv$1@domitilla.aioe.org...
> I am trying to run a script in batch process mode, but I keep
> getting errors, to debug, I recorded a new script with only one
> step.... despeckle.
>
> When I start the script, I set "save to" to new t ype and new
> path.   This is the error I get:
>
> ------- Command Execution Failed -----------
> Command Name: IncreaseColorsTo16Million
> Error Text: Requested parameter not found in the repository.
> ------- Command Execution Failed -----------
> Command Name: Despeckle
> Error Text: Requested parameter not found in the repository.
> Traceback (most recent call last):
>   File "C:\Documents and Settings\Owner\My Documents\My PSP8
> Files\Scripts-Restricted\Despeckle4.PspScript", line 13, in Do
>     App.Do( Environment, 'Despeckle', {
> JascApp.ParameterNotDefined: Parameter name () not found
>
>
> Thanks for any help!!!  Below is the script!
> Pete
>
>
> from JascApp import *
>
> def ScriptProperties():
>     return {
>         'Author': '',
>         'Copyright': '',
>         'Description': '',
>         'Host': 'Paint Shop Pro',
>         'Host Version': '8.00'
>         }
>
> def Do(Environment):
>     App.Do( Environment, 'Despeckle', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match
>                 }
>             })
>
>     App.Do( Environment, 'Despeckle', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match
>                 }
>             })
>
>     App.Do( Environment, 'Despeckle', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match
>                 }
>             })
>
>     App.Do( Environment, 'Despeckle', {
>             'GeneralSettings': {
>                 'ExecutionMode': App.Constants.ExecutionMode.Default,
>                 'AutoActionMode': App.Constants.AutoActionMode.Match
>                 }
>             })
>
>


0
Gary
9/3/2004 1:56:45 AM
Thanks Gary!
  I updated to psp 8.1 and it fixed my problem.

Pete


"Gary Barton" <gmb@xxcutouttosendxxearthling.net> wrote in message
news:xbQZc.91717$9d6.61072@attbi_s54...
> There is nothing wrong with the script.  You should update to PSP 8.10.
If
> you are still having problems. contacting Jasc tech support may also prove
> useful.
>
> "Pete" <junk@pbsite.net> wrote in message
> news:ch7bf6$1uv$1@domitilla.aioe.org...
> > I am trying to run a script in batch process mode, but I keep
> > getting errors, to debug, I recorded a new script with only one
> > step.... despeckle.
> >
> > When I start the script, I set "save to" to new t ype and new
> > path.   This is the error I get:
> >
> > ------- Command Execution Failed -----------
> > Command Name: IncreaseColorsTo16Million
> > Error Text: Requested parameter not found in the repository.
> > ------- Command Execution Failed -----------
> > Command Name: Despeckle
> > Error Text: Requested parameter not found in the repository.
> > Traceback (most recent call last):
> >   File "C:\Documents and Settings\Owner\My Documents\My PSP8
> > Files\Scripts-Restricted\Despeckle4.PspScript", line 13, in Do
> >     App.Do( Environment, 'Despeckle', {
> > JascApp.ParameterNotDefined: Parameter name () not found
> >
> >
> > Thanks for any help!!!  Below is the script!
> > Pete
> >
> >
> > from JascApp import *
> >
> > def ScriptProperties():
> >     return {
> >         'Author': '',
> >         'Copyright': '',
> >         'Description': '',
> >         'Host': 'Paint Shop Pro',
> >         'Host Version': '8.00'
> >         }
> >
> > def Do(Environment):
> >     App.Do( Environment, 'Despeckle', {
> >             'GeneralSettings': {
> >                 'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                 'AutoActionMode': App.Constants.AutoActionMode.Match
> >                 }
> >             })
> >
> >     App.Do( Environment, 'Despeckle', {
> >             'GeneralSettings': {
> >                 'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                 'AutoActionMode': App.Constants.AutoActionMode.Match
> >                 }
> >             })
> >
> >     App.Do( Environment, 'Despeckle', {
> >             'GeneralSettings': {
> >                 'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                 'AutoActionMode': App.Constants.AutoActionMode.Match
> >                 }
> >             })
> >
> >     App.Do( Environment, 'Despeckle', {
> >             'GeneralSettings': {
> >                 'ExecutionMode': App.Constants.ExecutionMode.Default,
> >                 'AutoActionMode': App.Constants.AutoActionMode.Match
> >                 }
> >             })
> >
> >
>
>


0
Pete
9/3/2004 5:39:11 AM
Reply: