This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > June 2007 > Scripting with PSP 8 versus scripting with PSP 9
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 |
Scripting with PSP 8 versus scripting with PSP 9
|
|
|
| I use PSP9. I have been recording scripts for a couple of years with version
9 and I am quite happy with it. I have joined a scripting group and the
owner believes that PSP 9 is not good for scripting. She feels that PSP 8 is
better. Since you are all more experienced here than I am in scripting,
please explain the reasoning for PSP 9 not being a good program for
scripting.
If Sue of Sue Shook reads this, are you teaching scripting and how do I sign
up?
Geena.
| |
|
| "Geena" <geena.green@XXXXXXXXXX> wrote in news:466d6ea6_3@cnews:
> I use PSP9. I have been recording scripts for a couple of years with
> version 9 and I am quite happy with it. I have joined a scripting
> group and the owner believes that PSP 9 is not good for scripting. She
> feels that PSP 8 is better. Since you are all more experienced here
> than I am in scripting, please explain the reasoning for PSP 9 not
> being a good program for scripting.
>
> If Sue of Sue Shook reads this, are you teaching scripting and how do
> I sign up?
>
> Geena.
Recording a script is simply that - i.e., you press the Record button and
record. It works the same in PSP 8, 9, X and XI. The only difference is
that the later versions of PSP may have features (e.g., DCNR in v.9 that
isn't available in v.8) that can also be used in scripts. Did this person
indicate in what manner she felt that PSP 9 wasn't good for scripting?
If you start writing your own scripts you'll have to learn Python, and
you'll be doing it in a text editor.
Regards,
JoeB
| |
| Spandex Rutabaga 2007-06-12, 6:23 pm |
| Geena wrote:
>
> I use PSP9. I have been recording scripts for a couple of years with version
> 9 and I am quite happy with it. I have joined a scripting group and the
> owner believes that PSP 9 is not good for scripting.
She has no basis for that opinion.
> She feels that PSP 8 is
> better.
Has she ever offered any objective evidence for this feeling?
> Since you are all more experienced here than I am in scripting,
> please explain the reasoning for PSP 9 not being a good program for
> scripting.
I don't know of any such reasoning. Actually, a few small things
may work better in PSP 9. There are also filters in PSP 9 that
didn't exist in PSP 8, whose output you can use in a script.
> If Sue of Sue Shook reads this, are you teaching scripting and how do I sign
> up?
I can't answer for Suz but here are links to PSP scripting classes:
http://www.lvsassociates.com/regist...&products_id=19
http://www.lvsassociates.com/regist...products_id=170
http://www.lvsassociates.com/regist...products_id=176
| |
|
| Spandex Rutabaga wrote:
> Geena wrote:
[color=darkred]
> She has no basis for that opinion.
[color=darkred]
> Has she ever offered any objective evidence for this feeling?
If you want to make sure text comes out well in all versions (pixels versus
points, Text and TextEd), then definitely use 8.
Joske
| |
| SuzShook 2007-06-12, 6:23 pm |
| Hi, Geena. The scripting courses, which are self-study now, are still being
given at LVS. I think Spandex posted the links to 3 of them.
As for the statement that PSP 8 is better for scripting, I think that's
false, though when scripts are recorded in PSP 8, they (usually!) work in
all versions of PSP while scripts recorded in PSP 9 or later might not work
in lower versions. There are ways around that, though. If you want to
discuss this further, you can contact me offline, Geena. Suz
Geena wrote:
> I use PSP9. I have been recording scripts for a couple of years with
> version 9 and I am quite happy with it. I have joined a scripting
> group and the owner believes that PSP 9 is not good for scripting.
> She feels that PSP 8 is better. Since you are all more experienced
> here than I am in scripting, please explain the reasoning for PSP 9
> not being a good program for scripting.
>
> If Sue of Sue Shook reads this, are you teaching scripting and how do
> I sign up?
>
> Geena.
| |
|
|
|
|
"Joske" <j.backer@home.nl> wrote in message news:466d9896$1_2@cnews...
> Spandex Rutabaga wrote:
>
>
>
>
>
> If you want to make sure text comes out well in all versions (pixels
> versus points, Text and TextEd), then definitely use 8.
>
> Joske
Sorry Thats not clear. as its later versions OX and above that have a
problem with scripts written in 8 or 9 and the use of points when they mean
pixels
Unless you meant using 8 as the graphics prog. rather then the scripting
prog.
Trev
| |
| Spandex Rutabaga 2007-06-13, 6:25 pm |
| Joske wrote:
> If you want to make sure text comes out well in all versions (pixels versus
> points, Text and TextEd), then definitely use 8.
I'm not sure I follow. My PSP 9 doesn't have points as units
for text size though it does reference TextEx. I thought Suz
had worked out how points relate to pixels based on image
resolution and the Windows display resolution. There is a
description here:
http://users.adelphia.net/~suzshook...181200.htm##195
| |
| Joske 2007-06-13, 10:17 pm |
| Trev wrote:
> "Joske" wrote
[color=darkred]
[color=darkred]
[color=darkred]
[color=darkred]
[color=darkred]
[color=darkred]
> Sorry Thats not clear. as its later versions OX and above that have a
> problem with scripts written in 8 or 9 and the use of points when
> they mean pixels
> Unless you meant using 8 as the graphics prog. rather then the
> scripting prog.
Trev and Spandex, later scripts can all read text code recorded in 8.10
perfectly. No hassle with math based on resolution or conversion or
whatever. The trick is exactly in using the exact code 8.01 records, and no
other - that's all there is to it.
Jos tried to make that clear when Howard encountered the problem, and his
newer Calendar scripts use text code from 8.10, but somehow it wasn't picked
up. Some other scripts we wrote (not on site) also use text code from 8.10,
and they work flawlessly in later versions.
Joske
| |
| Joske 2007-06-13, 10:17 pm |
| Joske wrote:
> code 8.01 records,
Should of course be 8.10. It's rather late here :-)
Joske
| |
|
| I would like to thank everyone that answered my question. I have another
question though. If a person records the script using PSP9, will PSP 8
users be able to use the script? I guess would be like working backwards or
is there something that needs to be done to ensure that PSP7 users are able
to use the PSP9 script?
"Geena" <geena.green@XXXXXXXXXX> wrote in message news:466d6ea6_3@cnews...
> I use PSP9. I have been recording scripts for a couple of years with
version
> 9 and I am quite happy with it. I have joined a scripting group and the
> owner believes that PSP 9 is not good for scripting. She feels that PSP 8
is
> better. Since you are all more experienced here than I am in scripting,
> please explain the reasoning for PSP 9 not being a good program for
> scripting.
>
> If Sue of Sue Shook reads this, are you teaching scripting and how do I
sign
> up?
>
> Geena.
>
>
| |
|
|
"Geena" <geena.green@XXXXXXXXXX> wrote in message news:466f7362$1_3@cnews...
>I would like to thank everyone that answered my question. I have another
> question though. If a person records the script using PSP9, will PSP 8
> users be able to use the script? I guess would be like working backwards
> or
> is there something that needs to be done to ensure that PSP7 users are
> able
> to use the PSP9 script?
Firstly PSP 7 can not red scripts at all they never had the ability.
PSP 8 and 9 read scripts in the same way Unless the script uses a feature of
9 that is not in 8 then there will be no problem.
PSP 10 manages to read some scripts written with 8 even though the JASC is
not understood in 10 and the term Paintshop pro replaced it.
| |
|
|
"Joske" <j.backer@home.nl> wrote in message news:466f4176$1_3@cnews...
> Trev wrote:
>
>
>
>
>
>
>
> Trev and Spandex, later scripts can all read text code recorded in 8.10
> perfectly. No hassle with math based on resolution or conversion or
> whatever. The trick is exactly in using the exact code 8.01 records, and
> no other - that's all there is to it.
>
> Jos tried to make that clear when Howard encountered the problem, and his
> newer Calendar scripts use text code from 8.10, but somehow it wasn't
> picked up. Some other scripts we wrote (not on site) also use text code
> from 8.10, and they work flawlessly in later versions.
>
> Joske
My experience was that the word Points used in 8 and 9 scripts has a
different meaning in X and above If the image being worked upon is around
72ppi there is no or very little difference I point being 1/72nd =1pixel.
When the image has a resolution set of say 300ppi then 8 and 9s points
which are really 1 pixel size turn out undersized.
| |
|
| Darn that was a typo, I meant PSP8 not PSP7. Thank you for explaining the
PSPX situtation.
"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:466facdb_2@cnews...
>
> "Geena" <geena.green@XXXXXXXXXX> wrote in message
news:466f7362$1_3@cnews...
>
>
> Firstly PSP 7 can not red scripts at all they never had the ability.
> PSP 8 and 9 read scripts in the same way Unless the script uses a feature
of
> 9 that is not in 8 then there will be no problem.
> PSP 10 manages to read some scripts written with 8 even though the JASC is
> not understood in 10 and the term Paintshop pro replaced it.
>
>
| |
|
| "Geena" <geena.green@XXXXXXXXXX> wrote in news:467049fa$1_2@cnews:
[color=darkred]
> Darn that was a typo, I meant PSP8 not PSP7. Thank you for explaining
> the PSPX situtation.
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
> news:466facdb_2@cnews...
> news:466f7362$1_3@cnews...
For the most part scripts recorded in PSP 9 will work in v.8 (as long as
the script doesn't include something available in v.9 and not in v.8).
If you record a script in v.9 that you want to work in all versions of
PSP without any warning messages, etc., you should likey replace the top
header information with the following (thanks to Suz for the info):
from JascApp import *
def ScriptProperties():
return {
'Author': u'',
'Copyright': u'',
'Description': u'',
'Host': u'',
'Host Version': u''
}
True = App.Constants.Boolean.true
False = App.Constants.Boolean.false
However, if your v.9 recorded script includes creation of text then you
will likely run into errors running the script in v.8, because in PSP9
the Text command was changed to TextEx (not to mention that v.9 also
added a "Direction" option not available in v.8). I suspect that Suz
Shook or Willy or Joske knows the code to ensure compatibility with this
issue, and maybe one of them will chime in. Perhaps GetVersionInfo will
do it, but I'm not conversant enough with it to make it work or to know
whether it would clear up all of the text issues with a script recorded
in v.9.
Regards,
JoeB
| |
|
| Thank you.
"JoeB" <mymail@myserver.com> wrote in message
news:Xns994F964C6DD54JoeB@207.107.16.194...
> "Geena" <geena.green@XXXXXXXXXX> wrote in news:467049fa$1_2@cnews:
>
>
> For the most part scripts recorded in PSP 9 will work in v.8 (as long as
> the script doesn't include something available in v.9 and not in v.8).
> If you record a script in v.9 that you want to work in all versions of
> PSP without any warning messages, etc., you should likey replace the top
> header information with the following (thanks to Suz for the info):
>
> from JascApp import *
>
> def ScriptProperties():
> return {
> 'Author': u'',
> 'Copyright': u'',
> 'Description': u'',
> 'Host': u'',
> 'Host Version': u''
> }
>
> True = App.Constants.Boolean.true
> False = App.Constants.Boolean.false
>
>
> However, if your v.9 recorded script includes creation of text then you
> will likely run into errors running the script in v.8, because in PSP9
> the Text command was changed to TextEx (not to mention that v.9 also
> added a "Direction" option not available in v.8). I suspect that Suz
> Shook or Willy or Joske knows the code to ensure compatibility with this
> issue, and maybe one of them will chime in. Perhaps GetVersionInfo will
> do it, but I'm not conversant enough with it to make it work or to know
> whether it would clear up all of the text issues with a script recorded
> in v.9.
>
> Regards,
>
> JoeB
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|