• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Attachment or no Attachment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Attachment or no Attachment
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: [OFF] Musical Scripters (was: monthNumber)
  • Next by Date: Re: Attachment or no Attachment
  • Previous by thread: Re: [OFF] Musical Scripters (was: monthNumber)
  • Next by thread: Re: Attachment or no Attachment
  • Index(es):
    • Date
    • Thread