You're right, Paul...I've had no problems pasting huge blocks of text (well
over 32k) into the message window in Entourage. Here is the offending code:
--begin script
global emailApp, fmpApp
set emailApp to GetRightApp("OPIM")
set fmpApp to GetRightApp("FMP5")
my MailIt("[EMAIL PROTECTED]","subject", my
RelatedRequest("dbName","globalField")
-------handlers--------
to GetRightApp(appCode)
tell application "Finder" to set procID to (get first process whose
creator type is appCode)
set appName to procID as <<class psn >>
end GetRightApp
on RelatedRequest(zDB, outputField)
--64K of text in outputField
tell fmpApp to tell <<class cDB >> zDB to set txt to <<class vlue>> of
<<class ccel>> outputField
end tell
end RelatedRequest
to MailIt(zRecip, zSub, zCon)
tell emailApp
set outMess to make new <<class outm>> at <<class cFld>> "Outbox"
with properties {<<class addr>>:{<<class addr>>:zRecip, <<class
rtyp>>:<<constant Erty!to >>}, <<class subj>>:zSub, <<class ctnt>>:zCon}
<<event mailsend>> outMess
end tell
end MailIt
--end script
Obviously, I've replaced the chevrons with gt and lt characters...and I've
already established that the necessary applications are running. Thanks
again for your time, gents!
Jed
On 5/9/01 10:28 AM, you wanted me to know this:
> On 5/9/01 10:08 AM, "Jed Verity" <[EMAIL PROTECTED]> wrote:
>
>> Interesting. Just for the record, the script itself is 129K and it attempts
>> to access 64K of text from FileMaker. The 64K should be stored in a variable
>> and then passed to an outgoing message in Entourage. By all accounts, it
>> appears that the error pops up when attempting to set the body of the new
>> messsage. The text is stored in the script with no problem...
>
> The 129K is not the relevant number. If you first compile the script, then
> copy and paste the text to a text window in Smile (or Tex-Edit Plus or
> another text editor which can handle more than 32K) and save it as text, the
> size of that text file is the relevant amount. But that's as styled text. As
> plain text it will be much, much less. I don't know if there are any
> limitations on maximum amount of text per variable. but it sounds like the
> amount in question is 64K or so.
>
> What happens if you manually copy the 64K-worth of text from Filemaker to
> your clipboard, then try to paste it into an Entourage new message window? i
> just pasted the text of a very big script (140 K as a script, bigger than
> your 129 K script) into Entourage, once as plain text, once as HTML.
>
> I was able to save the message both times. As plain text it's 94 K in size.
> As HTML, it's 329 K. There's obviously no 32K limit in Entourage message.
> The problem is elsewhere.
~)~)~)~)~)~)~)~)~)~)~)~)~)
Jed Verity
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>