AppleScript Delay command not working any more

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
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:

delay 2

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.

See also:

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


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 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!