Re: Help with Entourage & attachments
Re: Help with Entourage & attachments
- Subject: Re: Help with Entourage & attachments
- From: julifos <email@hidden>
- Date: Thu, 22 May 2003 10:21:19 +0200
>
On 5/21/03 1:08 PM, "julifos" <email@hidden> wrote:
>
>
> I would like append an attachment to an existing message. Here is the code:
>
>
>
> ########################################
>
> make new attachment at message id 1000 with properties {file:alias
>
> "path:to:file", encoding:no encoding}
>
> ########################################
>
>
>
> Successful!
>
>
>
> But, then, this will crash Entourage:
>
>
>
> ########################################
>
> properties of attachment 1 of message id 1000
>
> --> crash!
>
> ########################################
>
>
>
> Any idea on how should I...?
>
>
Is this for an outgoing message that has not yet been sent? It works
>
perfectly here on received messages and sent messages.
>
>
Entourage 10.1.1.2418
>
>
I wouldn't try it on a draft message.
>
>
--
>
Paul Berkowitz
I try it in all kind of messages (including draft ones ;-).
This works:
tell attachment 1 of message id 1000
name --> "file"
file creator --> +class HOLA;
file type --> +class HELO;
file --> alias "path:to:file"
encoding --> stop (?)
properties --> crash!!!!
end tell
"stop", very interesting, compilable, maybe Entourage returns:
<<constant >> --> four ASCII 0 characters
Which turns into standard additions' defined "stop" constant?
Anyway, I still get the crash when requesting the "properties". I've tried
with "encoding:AppleDouble" and stating only the "file" property, but I get
the same results...
Any thoughs here? Seems that the problem could be the "encoding" stuff...
Also, yesterday I created manually a link to a hard disk file, and when
requesting info on it, I receive this:
links of message id 1000
--> {null id 1 of application "Microsoft Entourage"}
So, I can't manipulate such link (eg, open or delete it). Related?
Same Entourage version here...
Cheers!
JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.