This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > PainShop Pro Scripting > December 2006 > Can any one see what wrong
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 |
Can any one see what wrong
|
|
|
| Others get App.do (Enviroments,'text Ex', [
Jasc App. objects not found.
It was recorder in 9 but will run as 9 or x on both my computers But others
users get error
# Text
App.Do( Environment, 'TextEx', {
'Visibility': True,
'CreateAs': App.Constants.CreateAs.Vector,
'Start': (529,110),
'TextFlow': App.Constants.TextFlow.HorizontalDown,
'TextType': App.Constants.TextType.TextBase,
'Matrix': [
1,
0,
0,
0,
1,
0,
0,
0,
1
],
'AutoKern': True,
'Kerning': 0,
'Tracking': 0,
'Leading': 0,
'Font': u'Arial',
'PointSize': 48,
'Italic': False,
'Bold': False,
'Underline': False,
'Strikethru': False,
'AntialiasStyle': App.Constants.AntialiasEx.Sharp,
'WarpText': True,
'SetText': App.Constants.Justify.Center,
'Fill': {
'Color': (255,192,192),
'Pattern': None,
'Gradient': None,
'Texture': None,
'Art': None,
'Identity': u'Material'
},
'Stroke': {
'Color': (0,0,0),
'Pattern': None,
'Gradient': None,
'Texture': None,
'Art': None,
'Identity': u'Material'
},
'LineWidth': 2,
'LineStyle': {
'Name': u'',
'FirstCap': (u'',0.25,0.25),
'LastCap': (u'',0.25,0.25),
'FirstSegCap': (u'',0.25,0.25),
'LastSegCap': (u'',0.25,0.25),
'UseSegmentCaps': False,
'Segments': []
},
'Join': App.Constants.JointStyle.Miter,
'MiterLimit': 10,
'Characters': u'Merry\u000DChristmas \u000DTo all',
'Strings': None,
'TextTarget': (0,0,[1],True),
'PathTarget': None,
'GeneralSettings': {
'ExecutionMode': App.Constants.ExecutionMode.Default,
'AutoActionMode': App.Constants.AutoActionMode.Match,
'Version': ((9,0,1),1)
}
})
--
--
| |
|
| "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in news:456caf74_3
@cnews:
> Others get App.do (Enviroments,'text Ex', [
> Jasc App. objects not found.
>
> It was recorder in 9 but will run as 9 or x on both my
computers But
> others users get error
>
I believe this is from Ron's Christmas Card script. I don't get
the text either in v.9, but as I was mainly interested in seeing
the tree get decorated (and Ron and others supplied the picture
tubes I was missing) I did get to see that, which was quite neat.
I believe the issue you mention is with the 'TextEx' command
(which used to be just 'Text' in v.8). If the v.9 patches are
not properly installed the program won't properly interpret
'TextEx' in a script.
I did attempt to install the v.9 patches awhile ago (because of
another script), and my Add/Remove programs show 9.01 installed
but the program itself says it's only v.9, and the next patch
after 9.01 won't install at all. As my only issue ever since Day
One with v.9 is with this TextEx thing, I haven't bothered to try
to fix the issue (I'm not an uninstall/reinstall guy unless
necessary!). But you might want to see if the other people
you're speaking about do have (or have attempted to install) the
update patches.
I did find that in Ron's script, if you replace all instances of
TextEx with Text the script will run to the end without errors,
but will still not write any text. It may have something to do
with the fact that the script was written for v.X. But by
running it to the end you do get to see the back of the card.
Maybe somebody else can explain why the text doesn't show up even
though the script can be made to run to the end in v.9 with minor
edits.
Regards,
JoeB
> # Text
> App.Do( Environment, 'TextEx', {
> 'Visibility': True,
> 'CreateAs': App.Constants.CreateAs.Vector,
> 'Start': (529,110),
> 'TextFlow': App.Constants.TextFlow.HorizontalDown,
> 'TextType': App.Constants.TextType.TextBase,
> 'Matrix': [
> 1,
> 0,
> 0,
> 0,
> 1,
> 0,
> 0,
> 0,
> 1
> ],
> 'AutoKern': True,
> 'Kerning': 0,
> 'Tracking': 0,
> 'Leading': 0,
> 'Font': u'Arial',
> 'PointSize': 48,
> 'Italic': False,
> 'Bold': False,
> 'Underline': False,
> 'Strikethru': False,
> 'AntialiasStyle': App.Constants.AntialiasEx.Sharp,
> 'WarpText': True,
> 'SetText': App.Constants.Justify.Center,
> 'Fill': {
> 'Color': (255,192,192),
> 'Pattern': None,
> 'Gradient': None,
> 'Texture': None,
> 'Art': None,
> 'Identity': u'Material'
> },
> 'Stroke': {
> 'Color': (0,0,0),
> 'Pattern': None,
> 'Gradient': None,
> 'Texture': None,
> 'Art': None,
> 'Identity': u'Material'
> },
> 'LineWidth': 2,
> 'LineStyle': {
> 'Name': u'',
> 'FirstCap': (u'',0.25,0.25),
> 'LastCap': (u'',0.25,0.25),
> 'FirstSegCap': (u'',0.25,0.25),
> 'LastSegCap': (u'',0.25,0.25),
> 'UseSegmentCaps': False,
> 'Segments': []
> },
> 'Join': App.Constants.JointStyle.Miter,
> 'MiterLimit': 10,
> 'Characters': u'Merry\u000DChristmas \u000DTo all',
> 'Strings': None,
> 'TextTarget': (0,0,[1],True),
> 'PathTarget': None,
> 'GeneralSettings': {
> 'ExecutionMode':
App.Constants.ExecutionMode.Default,
> 'AutoActionMode':
App.Constants.AutoActionMode.Match,
> 'Version': ((9,0,1),1)
> }
> })
>
>
| |
| SuzShook 2006-12-06, 8:09 pm |
| If users are still using PSP 8, this command will not work - the TextEx
command was new in PSP 9. PSP 8 users should get this error message:
JascApp.InvalidCommandName: Invalid or missing command name
The only way around that is to re-record the script in PSP 8 - or substitute
a Text command for the TextEx command.
Suz
--
Suz Shook
C-Tech Volunteer
Trev wrote:
> Others get App.do (Enviroments,'text Ex', [
> Jasc App. objects not found.
>
> It was recorder in 9 but will run as 9 or x on both my computers But
> others users get error
>
> # Text
> App.Do( Environment, 'TextEx', {
> 'Visibility': True,
> 'CreateAs': App.Constants.CreateAs.Vector,
> 'Start': (529,110),
> 'TextFlow': App.Constants.TextFlow.HorizontalDown,
> 'TextType': App.Constants.TextType.TextBase,
> 'Matrix': [
> 1,
> 0,
> 0,
> 0,
> 1,
> 0,
> 0,
> 0,
> 1
> ],
> 'AutoKern': True,
> 'Kerning': 0,
> 'Tracking': 0,
> 'Leading': 0,
> 'Font': u'Arial',
> 'PointSize': 48,
> 'Italic': False,
> 'Bold': False,
> 'Underline': False,
> 'Strikethru': False,
> 'AntialiasStyle': App.Constants.AntialiasEx.Sharp,
> 'WarpText': True,
> 'SetText': App.Constants.Justify.Center,
> 'Fill': {
> 'Color': (255,192,192),
> 'Pattern': None,
> 'Gradient': None,
> 'Texture': None,
> 'Art': None,
> 'Identity': u'Material'
> },
> 'Stroke': {
> 'Color': (0,0,0),
> 'Pattern': None,
> 'Gradient': None,
> 'Texture': None,
> 'Art': None,
> 'Identity': u'Material'
> },
> 'LineWidth': 2,
> 'LineStyle': {
> 'Name': u'',
> 'FirstCap': (u'',0.25,0.25),
> 'LastCap': (u'',0.25,0.25),
> 'FirstSegCap': (u'',0.25,0.25),
> 'LastSegCap': (u'',0.25,0.25),
> 'UseSegmentCaps': False,
> 'Segments': []
> },
> 'Join': App.Constants.JointStyle.Miter,
> 'MiterLimit': 10,
> 'Characters': u'Merry\u000DChristmas \u000DTo all',
> 'Strings': None,
> 'TextTarget': (0,0,[1],True),
> 'PathTarget': None,
> 'GeneralSettings': {
> 'ExecutionMode': App.Constants.ExecutionMode.Default,
> 'AutoActionMode': App.Constants.AutoActionMode.Match,
> 'Version': ((9,0,1),1)
> }
> })
>
>
> --
| |
|
|
"JoeB" <myemail@myserver.com> wrote in message
news:Xns9889C17426283JoeB@216.191.232.194...
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in news:456caf74_3
> @cnews:
>
> computers But
>
>
> I believe this is from Ron's Christmas Card script. I don't get
> the text either in v.9, but as I was mainly interested in seeing
> the tree get decorated (and Ron and others supplied the picture
> tubes I was missing) I did get to see that, which was quite neat.
>
> I believe the issue you mention is with the 'TextEx' command
> (which used to be just 'Text' in v.8). If the v.9 patches are
> not properly installed the program won't properly interpret
> 'TextEx' in a script.
>
> I did attempt to install the v.9 patches awhile ago (because of
> another script), and my Add/Remove programs show 9.01 installed
> but the program itself says it's only v.9, and the next patch
> after 9.01 won't install at all. As my only issue ever since Day
> One with v.9 is with this TextEx thing, I haven't bothered to try
> to fix the issue (I'm not an uninstall/reinstall guy unless
> necessary!). But you might want to see if the other people
> you're speaking about do have (or have attempted to install) the
> update patches.
>
> I did find that in Ron's script, if you replace all instances of
> TextEx with Text the script will run to the end without errors,
> but will still not write any text. It may have something to do
> with the fact that the script was written for v.X. But by
> running it to the end you do get to see the back of the card.
>
> Maybe somebody else can explain why the text doesn't show up even
> though the script can be made to run to the end in v.9 with minor
> edits.
>
> Regards,
>
> JoeB
Thanks Joe.
My own attempt at a Christmas card a bit like Ron's which indecently after
changing some tube names ran perfectly for me in 9 but did not even show in
my scripts in X.
My starfish had to be changed to star fish.
Seams that there is something iffy about sharing scripts with vector text in
them.
Trev
| |
|
|
"SuzShook" <suzshook@adelphia.net> wrote in message
news:456ceb2e$1_1@cnews...
> If users are still using PSP 8, this command will not work - the TextEx
> command was new in PSP 9. PSP 8 users should get this error message:
> JascApp.InvalidCommandName: Invalid or missing command name
>
> The only way around that is to re-record the script in PSP 8 - or
> substitute a Text command for the TextEx command.
> Suz
>
> --
> Suz Shook
> C-Tech Volunteer
>
>
Thanks Suz
As it happens they where using 9. But it sounds as if sharing scripts with
Vector text Is not straight forward.
May be something to do with how many editions of PSP you have on the
computer at the time allows it to find the right command to run even in the
wrong PSP. As I do have 7,8,9,and 10 on my machines at the moment.
Trev
| |
| SuzShook 2006-12-06, 8:09 pm |
| Trev wrote:
> "SuzShook" <suzshook@adelphia.net> wrote in message
> news:456ceb2e$1_1@cnews...
> Thanks Suz
> As it happens they where using 9. But it sounds as if sharing scripts
> with Vector text Is not straight forward.
> May be something to do with how many editions of PSP you have on the
> computer at the time allows it to find the right command to run even
> in the wrong PSP. As I do have 7,8,9,and 10 on my machines at the
> moment.
> Trev
I'm not sure I'm following this discussion, Trev. What EXACTLY is the error
message that is being generated? I'm not sure there should be any problem
at all running that command in PSP 9. Of course, the text starts at point
(529,110), so the image must be large enough to contain that point and the
resulting text. I don't have any problems running that step from your
original post. I think we need the exact text of the error message to be of
any help. Suz
| |
|
|
|
|
"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:456d8327_2@cnews...[color=darkred]
>
> "SuzShook" <suzshook@adelphia.net> wrote in message
> news:456d7f68$1_2@cnews...
The entire pack of tubes and script can be found here if you want it a bit
over 4mb plus any overheads
http://download.yousendit.com/A4BDA0782BAB9EC8
| |
| SuzShook 2006-12-06, 8:09 pm |
| I just downloaded and ran the script with no problems, Trev. Do the users
having the problems have all the patches on PSP 9 or PSP X, whichever the
case? Suz
Trev wrote:
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
> news:456d8327_2@cnews...
>
> The entire pack of tubes and script can be found here if you want it
> a bit over 4mb plus any overheads
> http://download.yousendit.com/A4BDA0782BAB9EC8
| |
|
| "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in news:456d85d4_2
@cnews:
>
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
> news:456d8327_2@cnews...
>
> The entire pack of tubes and script can be found here if you
want it a
> bit over 4mb plus any overheads
> http://download.yousendit.com/A4BDA0782BAB9EC8
>
I get a timeout with IE.
Regards,
JoeB
| |
|
|
"SuzShook" <suzshook@adelphia.net> wrote in message
news:456da9d2$1_2@cnews...
>I just downloaded and ran the script with no problems, Trev. Do the users
>having the problems have all the patches on PSP 9 or PSP X, whichever the
>case? Suz
>
I dont know
I would have thought so but !
Only two have tried it and both had the same problem. Ah well I though it
would be fun.
> Trev wrote:
>
>
| |
|
| Trev wrote:
> Ah well I though it would be fun.
Trev, I suggested this elsewhere when Ron was attempting the same
thing:
You don't necessarily have to point to tubes. A card can be quite
charming without being elaborate, so why not do something a little
different.
Make a simple background. It doesn't have to be elaborate, how about
a dark purple bg with some bright dots as stars (normal brush at
narrow thickness, 0 degrees rotation then 90 degrees rotation).
Make a figure, or your text, as an in-between image, and include the
image in the text. This part could include something more elaborate,
like a picture of a church in snow with your text over or around it.
Make a simple foreground, maybe just a little layer of snow... make
it partly go over the middle image. Again, include the image in the
text. Alternately, a bit of snow would be easy to paint so that you
don't have to include it as an image.
When way back when I thought up this 'live' scripting and posted
examples here, people liked watching the process even while it
wasn't always elaborate. Come to think of it, I think I even won a
prize with it, however doubtable the honor of a Massacre prize may
be :-)
Joske
--
http://members.home.nl/j.a.c.backer/
| |
|
|
"Joske" <j.backer@home.nl> wrote in message news:456dc5d3$1_2@cnews...
> Trev wrote:
>
>
> Trev, I suggested this elsewhere when Ron was attempting the same
> thing:
>
> You don't necessarily have to point to tubes. A card can be quite
> charming without being elaborate, so why not do something a little
> different.
>
> Make a simple background. It doesn't have to be elaborate, how about
> a dark purple bg with some bright dots as stars (normal brush at
> narrow thickness, 0 degrees rotation then 90 degrees rotation).
>
> Make a figure, or your text, as an in-between image, and include the
> image in the text. This part could include something more elaborate,
> like a picture of a church in snow with your text over or around it.
>
> Make a simple foreground, maybe just a little layer of snow... make
> it partly go over the middle image. Again, include the image in the
> text. Alternately, a bit of snow would be easy to paint so that you
> don't have to include it as an image.
>
> When way back when I thought up this 'live' scripting and posted
> examples here, people liked watching the process even while it
> wasn't always elaborate. Come to think of it, I think I even won a
> prize with it, however doubtable the honor of a Massacre prize may
> be :-)
>
> Joske
> --
> http://members.home.nl/j.a.c.backer/
>
But Its not the tubes its the text. And it ran for Suz and on my other
networked computer Just not for two who have tried it. I'm no Python expert
Nudge nudge say no more. But it looked ok to me.
| |
|
|
|
|
"Joske" <j.backer@home.nl> wrote in message news:456e2fba_3@cnews...
> Trev wrote:
>
>
>
>
> Trev, I didn't notice this before:
>
> Your user has placed the script in a folder in My Documents called
> UNKNOWN TUBES.
>
> A script can be run from another folder than Restricted or Trusted,
> and yours runs fine for me from another folder. So this is probably
> not the cause of the error. Where to place files is something you
> might want to point out whenever next you offer several files for
> download.
>
> Frankly, I'm inclined to think both users are running the same PSP 9
> copy with something wrong or missing. But, seeing there is an object
> (vector, text) not being found, could you ask them if the attached
> edit of your script works without fault using floating text?
>
> Joske
>
>
Joske. These users all claim they know nothing of scripts, They also shy
away from vectors. I think its best to just forget about it and leave them
to their tags.
Trev
| |
| Big Bad Dave 2006-12-06, 8:09 pm |
|
"Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
news:456d7520_3@cnews...
>
> "SuzShook" <suzshook@adelphia.net> wrote in message
> news:456ceb2e$1_1@cnews...
> Thanks Suz
> As it happens they where using 9. But it sounds as if sharing scripts with
> Vector text Is not straight forward.
> May be something to do with how many editions of PSP you have on the
> computer at the time allows it to find the right command to run even in
> the wrong PSP. As I do have 7,8,9,and 10 on my machines at the moment.
>
> Trev
>
What... No version 11 Trev?
Dave
| |
|
|
"Big Bad Dave" <dave@hotmail.com> wrote in message
news:456ef7cc$1_2@cnews...
>
> "Trev" <trevbowden@dsl.pipex.cominvalid> wrote in message
> news:456d7520_3@cnews...
>
> What... No version 11 Trev?
>
> Dave
No. It did not even stay on long enought to time out
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|