• 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
Problem accessing Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem accessing Mail


  • Subject: Problem accessing Mail
  • From: John Shanks <email@hidden>
  • Date: Fri, 12 Jan 2007 21:03:37 -0600

I am trying to build a script that will allow me to get data from a selected message in Mail.app. I thought I was scripting in an approved way,  but the script will not respond to the "on perform mail action with messages AllMessages". This script application is in the script menu and does run because the Display dialog "End of Script" does work if the Display dialog testMessage is taken out.


using terms from application "Mail"
on perform mail action with messages allMessages
display dialog "In On"
set testMessage to "In the on"
end perform mail action with messages
end using terms from
display dialog testMessage
display dialog "End of Script"
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem accessing Mail
      • From: Rob Stott <email@hidden>
  • Prev by Date: Re: Changing CAPITAL to Upper And Lower Case
  • Next by Date: Getting info from file without opening it
  • Previous by thread: Changing CAPITAL to Upper And Lower Case (revised)
  • Next by thread: Re: Problem accessing Mail
  • Index(es):
    • Date
    • Thread