Re: Adding a message to a mailbox in Mail
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.