AppleScript Delay command not working any more

Originator:tempelmann
Number:rdar://21588747 Date Originated:29-Jun-2015
Status:duplicate of 18963858 Resolved:
Product:OSX SDK Product Version:10.10.3
Classification:Other bug Reproducible:always
 
Summary:
Since 10.10, the "delay" command doesn't seem to work in standalong applescript apps any more. It still does work in the Script Editor.

Steps to Reproduce:
Using the Script Editor, write this code and run it in the editor:

beep
delay 2
beep

Note that the app runs for about 2 seconds, with a beep at the start and at its end.

Now save this as an application and launch the app under 10.10.3
Note that the app quits immediately. It should, however, keep running for about 2 seconds before quitting and beeping. This suggests that the delay is ending prematurely.


Notes:
See also: http://apple.stackexchange.com/questions/161749/applescript-delay-not-working-since-switch-to-yosemite

Configuration:
Mac Pro (Early 2008)
2 x 2,8 GHz Quad-Core Intel Xeon
8GB RAM

Comments

Duplicate of 18963858

By tempelmann at June 30, 2015, 10:07 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!