Re: Re: Powerpoint 255 character limit
Re: Re: Powerpoint 255 character limit
- Subject: Re: Re: Powerpoint 255 character limit
- From: Brad Anderson <email@hidden>
- Date: Tue, 9 May 2006 12:15:52 -0700 (PDT)
I've been testing this in a reproducible (100%) short
script. Actually
when
the text is between 256 and 269 characters, it returns
garbage Unicode
to
fill up to 270th character, then 271 adds more garbage
up to 282. When
there's 272 or more characters, PowerPoint crashes.
The bug is only in AppleScript, not in the equivalent
macro for VBA. So
'do
Visual Basic' ought to work OK, but the trouble is it
won't return a
real
result to the script, so you can't get your full
text.. You'd have to
redo
the entire script as a VBA macro or use tricks to
write the cumulative
result to a text file and have AppleScript read the
text file.
I've reported the bug.
--
Paul Berkowitz
Thanks Paul. I initially wasn't aware that it was
potentially a bug. I too discovered that it was around
270 characters that triggered the problem. This
particular handler was an optional feature of the
script I am working on so I'll just try and trap the
error and move on to another slide.
Thanks for you help.
Brad Anderson
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden