• 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
Re: Adding a message to a mailbox in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a message to a mailbox in Mail


  • Subject: Re: Adding a message to a mailbox in Mail
  • From: Timothy Bates <email@hidden>
  • Date: Tue, 01 Oct 2002 09:30:56 +1000

> make new message with properties {subject:"test", contents:"this is a
> test"} at end of mailbox (mailbox "test")

The last bit is like saying "house of house tim" when you mean "house of
tim", a mailbox (or any other object) does not itself have a mailbox: it is
the mailbox.

The most common place for this "double specificiation" error is with files,
where you end up with

set fileX to file "x"

open file fileX

Which gives an error because it looks for the file's file.

Open fileX will work

Likewise
at end of (mailbox "test")

Should work.

Tim
_______________________________________________
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: Adding a message to a mailbox in Mail
      • From: Thierry Faucounau <email@hidden>
  • Prev by Date: Re: applescript-users digest, Vol 3 #903 - 16 msgs
  • Next by Date: Limiting number of dialog characters
  • Previous by thread: Re: applescript-users digest, Vol 3 #903 - 16 msgs
  • Next by thread: Re: Adding a message to a mailbox in Mail
  • Index(es):
    • Date
    • Thread