• 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
Older Version of Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Older Version of Mail


  • Subject: Older Version of Mail
  • From: Steven Valenti <email@hidden>
  • Date: Thu, 2 Feb 2006 10:22:27 -0500

I'm scripting an older version of Mail app 1.2.5 (v553) under OSX 10.2.8
I need to delete messages out of a specific mailbox. Things look right but I always get an error and can't delete items. I can grab the contents of messages in this mailbox so I know I have my spelling correct to refer to what I'm asking for. This works on another computer running Mail 1.3.9 (v619/619.2) under OSX 10.3.7 but I need to have it work under older versions. I'm I missing any syntax ?
Thanks,
Steven


tell application "Mail"
set Amessage to message 1 of mailbox "BackLog Queue PPD"
delete Amessage
end

Event Log
tell application "Mail"
get
message 1 of mailbox "BackLog Queue PPD"
delete
message 1 of mailbox "BackLog Queue PPD"
--> Mail got an error: NSInternalScriptError

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: GUI 'print' click etc 10.3. only
  • Next by Date: Re: GUI applescripting FreeHand MX
  • Previous by thread: Re: GUI applescripting FreeHand MX
  • Next by thread: Older Version of Mail
  • Index(es):
    • Date
    • Thread