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 13:33:44 +0200
>
At 10:08 PM +0200 21/05/03, julifos wrote:
>
> But, then, this will crash Entourage:
>
>
>
> ########################################
>
> properties of attachment 1 of message id 1000
>
> --> crash!
>
> ########################################
>
>
I don't know Entourage, but what you really want is - I think:
>
>
-----------------------------
>
properties of (get attachment 1 of message id 1000)
>
-----------------------------
>
>
Emmanuel
Unfortunatelly, same results... At this point, I would be interested if
somebody can replicate this behaviour using this code... (expected results:
Entourage crashing)
#####################################
set x to (choose file with prompt "Choose attachment...")
tell application "Microsoft Entourage"
set testMsg to (make new outgoing message at out box folder with
properties {subject:"test"})
make new attachment at testMsg with properties {file:x}
properties of result
end tell
#####################################
When I run this code from an applet, I also receive an error message
"Connection is invalid".
Thanks!
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.