Any thoughts how I can add an attachment to the current draft window of entourage? I’m at my wits end!
Here’s what I’ve got so far:
set x to choose file with multiple selections allowed
tell application "Microsoft Entourage"
set TheWindows to windows
set Current_Message to item 1 of TheWindows
tell Current_Message
set properties to {attachment: x}
end tell
end tell
set theAttachments to choose file with multiple selections allowed
tell application "Microsoft Entourage"
try
if class of window 1 ≠draft window then error number -128
on error
return
end try
set draftMessage to window 1
make new attachment at draftMessage with properties {file:theAttachments}
end tell