Thanks Shane.
That’s what I suspected, but as I had lodged a bug report that outlined an repeating ‘Echo’ of spoken text, in my Applescript Email arrival monitoring script, and received a reply from a technician that Applescript is now able to run scripts in parallel, I kind of hoped it might apply to running multiple apps.
Ah well.
Regards
Santa
Apple Developer Relations20-Jun-2015 08:27 AMThis issue behaves as intended based on the following:
Saving properties was part of the design. The issue isn’t that properties aren’t getting saved, it’s a matter of when they get saved, plus the fact that Mail can now run scripts in parallel. Naturally, property values are only saved when the script exits. That means that if one instance of the script gets run (call it “A”), and then another instance “B” runs before A finishes, B sees the old values of the properties, because A hasn’t updated them yet. For this script, that means that both of them think it’s been more than 10 seconds since the last time it ran. (You can prove this by triggering the rule slowly, allowing each instance to finish before triggering it again — it only speaks once every 10 seconds. It’s only an issue if executions overlap.)
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|