This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > April 2006 > simple caption





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 simple caption
Donald F. MacLean

2006-04-17, 7:00 pm

I went to use the 'simple caption' script today, and It is misbehaving
in a very strange way! Which it did not before.

I have reviewed the script and can not find anything that offers an
explanation for its behaviour.

Everything works fine, EXCEPT! For some reason the caption includes - in
red Arial font - the date string, 'MAY14'.

I thought I might have suffered a ‘virus’ but after updating and running
both SpyBot and Ad-Aware, and rebooting the computer, the spurious
behaviour is still there.

Any suggestions?

[I tried to attach the affected image, but it hangs the send process.
Don’t know if that is relevant.]

Donald F. MacLean
Donald F. MacLean

2006-04-17, 7:00 pm

Found a partial solution!

Just out of curiosity, I went back to Version 9 and ran script there.
Pas de probleme!

Are there possibly some residual Version X compilation data embedded
somehow in the Version X script?

Donald F. MacLean
Joske

2006-04-17, 7:00 pm

Donald F. MacLean wrote:

> I went to use the 'simple caption' script today, and It is
> misbehaving in a very strange way! Which it did not before.


> I have reviewed the script and can not find anything that offers
> an explanation for its behaviour.


> Everything works fine, EXCEPT! For some reason the caption
> includes - in red Arial font - the date string, 'MAY14'.


> I thought I might have suffered a ‘virus’ but after updating and
> running both SpyBot and Ad-Aware, and rebooting the computer, the
> spurious behaviour is still there.


> Any suggestions?


> [I tried to attach the affected image, but it hangs the send
> process. Don’t know if that is relevant.]


Sounds like a real mystery. I don't see anything in the script that
would cause this, and it works fine for me in X and 9. The only
thing I can think of is that momentarily it couldn't find the Times
New Roman font.

Joske




Donald F. MacLean

2006-04-17, 7:00 pm

Joske wrote:

> Sounds like a real mystery. I don't see anything in the script that
> would cause this, and it works fine for me in X and 9. The only
> thing I can think of is that momentarily it couldn't find the Times
> New Roman font.
>
> Joske


No, the title appears, correctly, in Times New Roman. But with the
mysterious MAY14 added!

I am attaching image as JPG, as it doesn't want to attach as psp!

Donald F. MacLean

SuzShook

2006-04-17, 7:00 pm

I can also run the script in PSP X with no problems. Do you have all the X
patches installed? Suz
--
Suz Shook
C-Tech Volunteer


Joske wrote:
> Donald F. MacLean wrote:
>
>
>
>
>
>
>
> Sounds like a real mystery. I don't see anything in the script that
> would cause this, and it works fine for me in X and 9. The only
> thing I can think of is that momentarily it couldn't find the Times
> New Roman font.
>
> Joske



Vern Stump

2006-04-17, 7:00 pm

Joske wrote:
> Donald F. MacLean wrote:
>
>
>
>
>
>
>
> Sounds like a real mystery. I don't see anything in the script that
> would cause this, and it works fine for me in X and 9. The only
> thing I can think of is that momentarily it couldn't find the Times
> New Roman font.
>
> Joske


The script ran fine here, too!!!
Vern


Spandex Rutabaga

2006-04-17, 7:00 pm

"Donald F. MacLean" wrote:
>
> Joske wrote:
>
>
> No, the title appears, correctly, in Times New Roman. But with the
> mysterious MAY14 added!
>
> I am attaching image as JPG,


Actually you didn't attach it as JPEG. You attached it as JPEG 2000
and a large one at that.

> as it doesn't want to attach as psp!


Programs like Thunderbird don't have likes or wants. There is
something about the process of attaching you didn't do the right
way or you had the file open in PSP while you were trying to
attach.

I don't know what could be causing your PSP X problem and I don't
even have PSP X or the script. However, there is one idea I had,
which is only a guess. Open an image, select the Text tool, click
on the image and watch the Text Entry dialog appear. Before you type
anything look carefully to see if the Remember Text checkbox is set.
If it isn't press Cancel and forget my guess. If it is checked,
uncheck it, type some arbitrary text and apply it to the image.
Delete the resulting image without saving. Now try running the
script as before to see if you still have the problem. If you don't
my guess was right. If you still do at least you haven't wasted
much time trying this. If the problem persists I'd try uninstalling
and reinstalling the app and all the patches in sequence.
Donald F. MacLean

2006-04-17, 7:00 pm

Spandex Rutabaga wrote:

> Actually you didn't attach it as JPEG. You attached it as JPEG 2000
> and a large one at that.


> Programs like Thunderbird don't have likes or wants. There is
> something about the process of attaching you didn't do the right
> way or you had the file open in PSP while you were trying to
> attach.


First, apologies for hitting the wrong 'save as' file type. And
previously I may still have had the image open while trying to attach as
psp.

> I don't know what could be causing your PSP X problem and I don't
> even have PSP X or the script. However, there is one idea I had,
> which is only a guess. Open an image, select the Text tool, click
> on the image and watch the Text Entry dialog appear. Before you type
> anything look carefully to see if the Remember Text checkbox is set.
> If it isn't press Cancel and forget my guess. If it is checked,
> uncheck it, type some arbitrary text and apply it to the image.
> Delete the resulting image without saving. Now try running the
> script as before to see if you still have the problem. If you don't
> my guess was right. If you still do at least you haven't wasted
> much time trying this. If the problem persists I'd try uninstalling
> and reinstalling the app and all the patches in sequence.


And thanks. Good guess! I had the offending text 'remembered' from a
previous use of the text function. Did what you suggested, and inserted
changed text string.

Re-ran script and it functioned properly - without adding new
'remembered' text.

What, exactly, was your guess as to why the script was picking up
remembered text from goodness knows how long since?

Donald F. Maclean
SuzShook

2006-04-17, 7:00 pm



Spandex Rutabaga wrote:
> "Donald F. MacLean" wrote:
>
> Actually you didn't attach it as JPEG. You attached it as JPEG 2000
> and a large one at that.
>
>
> Programs like Thunderbird don't have likes or wants. There is
> something about the process of attaching you didn't do the right
> way or you had the file open in PSP while you were trying to
> attach.
>
> I don't know what could be causing your PSP X problem and I don't
> even have PSP X or the script. However, there is one idea I had,
> which is only a guess. Open an image, select the Text tool, click
> on the image and watch the Text Entry dialog appear. Before you type
> anything look carefully to see if the Remember Text checkbox is set.
> If it isn't press Cancel and forget my guess. If it is checked,
> uncheck it, type some arbitrary text and apply it to the image.
> Delete the resulting image without saving. Now try running the
> script as before to see if you still have the problem. If you don't
> my guess was right. If you still do at least you haven't wasted
> much time trying this. If the problem persists I'd try uninstalling
> and reinstalling the app and all the patches in sequence.


Great idea, Spandex - that's probably it exactly! Suz


Spandex Rutabaga

2006-04-17, 7:00 pm

"Donald F. MacLean" wrote:

> And thanks. Good guess! I had the offending text 'remembered' from a
> previous use of the text function. Did what you suggested, and inserted
> changed text string.
>
> Re-ran script and it functioned properly - without adding new
> 'remembered' text.


This is a bug. You should report it to Corel using the E-mail
Corel link here http://support.corel.com/. Remember Text should
remember both the actual string and the settings (e.g. color,
justification, etc.) for the text. However, when replacement
text is supplied this text should be used as a replacement, not
as an addendum, even though the previous settings are maintained.
This is how previous versions of PSP worked interactively and
commands should work identically whether executed by hand or in
a script. Yet another unfixed mess in PSP X.

> What, exactly, was your guess as to why the script was picking up
> remembered text from goodness knows how long since?


We vegetables move in mysterious ways. Actually, we don't move.
We sit in the ground and don't do much except think.
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews