• 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: Simple mail script not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple mail script not working


  • Subject: Re: Simple mail script not working
  • From: Ken Tozier <email@hidden>
  • Date: Thu, 30 Aug 2007 14:16:15 -0400

Yikes! The "RunApplescript" rule seems to be extremely buggy. It crashes Mail instantaneously whenever it gets an email. I actually had to go into my mail folder through Comcast, delete the message, launch Mail and delete the rule before Mail became stable again.

Guess it's not ready for prime time. I sent the crash log to Apple.

On Aug 30, 2007, at 1:47 PM, Ken Tozier wrote:

Hi

It's been awhile since I used Applescript and I'm having trouble with a simple mail script test. Basically, what I want to do is run a script when emails with a specific subject line arrives but the script doesn't seem to get called.

Here's what I did
- Set up a rule in the Mail prefs with the settings:
	Subject contains testing123
	Run Applescript: "/Library/Scripts/Mail Scripts/testing123.scpt

- Send a message to myself with the "testing123" subject line
- Result: Nothing

Here's the script could someone point out what I'm doing wrong?

using terms from application "Mail"
on perform mail action with messages selectedMessages
-- activate -- tried this both commented and uncommented, no difference
repeat with aMessage in selectedMessages
display dialog aMessage
end repeat
end perform mail action with messages
end using terms from


Thanks for any help

Ken


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40comcast.net
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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/archives/applescript-users

This email sent to email@hidden
References: 
 >Simple mail script not working (From: Ken Tozier <email@hidden>)

  • Prev by Date: Simple mail script not working
  • Next by Date: Mac Mail does not work as I want :)
  • Previous by thread: Simple mail script not working
  • Next by thread: Re: Simple mail script not working
  • Index(es):
    • Date
    • Thread