• 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: Mail script puzzlement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail script puzzlement


  • Subject: Re: Mail script puzzlement
  • From: Brian Christmas <email@hidden>
  • Date: Wed, 22 Jun 2016 10:12:06 +1000

G’day Jeremy.

I don’t know if this is a valid hypothesis or not, but here goes.

I have used a mail rule, which runs an Applescript, for over 9 years, without fail.

I wrote it for my Mail Manager application, which started life as a bunch of Applescripts, for Clients who utterly MUST have it work, EVERY time.

However, the rule is in two parts, the first of which takes every Email that arrives in an initially user-choosable inbox, (that the rule is then applied to), and transfers it to an ordinary mailbox, ‘* items to store’.

Only then does it call the Applescript, which it turn checks an Application set flag, stored in the Application's preference file, and determines if the script is ‘allowed’ to activate my Mail Manager App.

My thoughts are that by first shifting the Email, the Applescript somehow sets itself up as being able to reliably work. Just guessing, but as calling the script has never failed in 9 years, and been called over a million times, somethings got be be responsible!

If I’m right, Mail Rules ALWAYS work, and their being called is utterly reliable. It’s just that if the mail rules FIRST, and perhaps ONLY task, is to run an Applescript, that called script can prove unreliable in it’s activation.

Regards

Santa





 _______________________________________________
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

  • Follow-Ups:
    • Re: Mail script puzzlement
      • From: Jeremy Roussak <email@hidden>
References: 
 >Mail script puzzlement (From: Jeremy Roussak <email@hidden>)

  • Prev by Date: Re: Mail script puzzlement
  • Next by Date: Re: Mail script puzzlement
  • Previous by thread: Re: Mail script puzzlement
  • Next by thread: Re: Mail script puzzlement
  • Index(es):
    • Date
    • Thread