Attachment or no Attachment
Attachment or no Attachment
- Subject: Attachment or no Attachment
- From: Bart Visser <email@hidden>
- Date: Thu, 14 Feb 2002 08:14:36 +0100
Hi,
I'm writing a script that sends a return email based on keywords in the
subject. I use this handler to make the email:
on MakeMessage(ToAdres, TheSubject, TheContent, TheAttchment)
tell application "Outlook Express"
activate
set NwMessage to make outgoing message with properties
{recipient:ToAdres, subject:TheSubject, content:TheContent,
attachment:TheAttachment}
move NwMessage to folder "Postvak UIT"
end tell
end MakeMessage
Sometimes however there is an attachment, sometimes there isn't. Is there a
way to set attachment to 'none'. If tried 'None', 'False' and '""' but the
script gives an errormessage.
Bart Visser
_______________________________________________
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.