• 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: Deleting Mail message in different languages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting Mail message in different languages


  • Subject: Re: Deleting Mail message in different languages
  • From: John Delacour <email@hidden>
  • Date: Sat, 10 May 2003 18:43:17 +0100
  • Mac-eudora-version: 6.0a16

At 11:20 am -0400 10/5/03, John Carlsen wrote:

I am trying to delete a message in Mail for my script. I understand that

delete theMessage

[...]

Is there any way of doing this without a sequence of error traps for each
language?

tell app "Mail"
repeat with msg in (get selection)
set mailbox of msg to mailbox 4
end repeat
end tell


It appears Mail in incapable of working with a list

tell application "Mail"
set mailbox of (get selection) to mailbox 4
end tell
--> Can't set <<class mbxp>> of {<<class mssg>> 10 of <<class mbxp>> "INBOX" of <<class mact>> "email@hidden" of application "Mail"} to <<class mbxp>> "Deleted Messages" of application "Mail".

So what are these apparently useful Application properties for? Or are these
just not working properly yet either?

I'd like to know what is apparently useful about them. It is not apparent to me. There is nothing in the slightest rational about Mail's aete. It is a Mail told by an idiot, full of sound and fury, signifying nothing.


JD
_______________________________________________
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: Deleting Mail message in different languages
      • From: "John C. Welch" <email@hidden>
References: 
 >Deleting Mail message in different languages (From: John Carlsen <email@hidden>)

  • Prev by Date: Re: Deleting Mail message in different languages
  • Next by Date: Re: Frontmost document??
  • Previous by thread: Re: Deleting Mail message in different languages
  • Next by thread: Re: Deleting Mail message in different languages
  • Index(es):
    • Date
    • Thread