David Cortright wrote a script that I found in the archives to fix the
unbold of imported messages.  I get a syntax error at the end try after
delete I at the end of the script -- message is expected 'on' and found
'end'.  I'm hoping that I'm just missing some scripting addition bundle.
Any help?

<begin quote>
Title: SCRIPT: Fix imported sent messages.  There is a bug in the Entourage
import code where sent messages imported from Eudora or Netscape are bold
(as if they were unread or unsent) and there is no easy way to "unbold"
them. This script fixes those messages. If you have made any modifications
�to a message in Entourage (edit it, add links, ...) these changes will
probably be lost when running this script; it�s best to be used immediately
after importing.

tell application "Microsoft Entourage"
����set s to the selection
����repeat with i in s
��������if class of i is outgoing message then
�����������set s to source of i
������������set sndr to sender of i
������������set stor to storage of i
������������set ts to time sent of i
������������set tr to time received of i
������������set c to category of i
������������set prio to priority of i
������������
������������set nm to make new outgoing message with properties �
����������������{source:s, time sent:ts, time received:tr, read status:read}
�
��������������������& {delivery status:sent,
storage:stor,category:c,priority:prio}
������������set sender of nm to sndr
������������delete i
������������try
���������������delete i
������������end try
�������end if
���end repeat
end
<end quote>

sue
-- 
PowerBook 3400c/200, 80M RAM with VM on, OS 8.6, a kajillion extensions


--
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives:
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to