How to suppress the “Run or quit” dialog when launching an applescript

applescriptdialog

I am having the same basic problem as in this question:

AppleScript app started prompting to run or quit. How can I disable this?

However, in my case the "Startup Screen" option is definitely NOT checked, and re-saving the script will not make any difference.

The issue here appears to be that I am launching my script via a keyboard shortcut of CTRL-SHIFT-I and it's having the Control key as part of the launching shortcut, that is the problem.

I can change the shortcut, but I have a whole system in place with how I launch things and this breaks that system. I would really REALLY prefer not to have to change my shortcut for this one silly reason.

Is there any way to force-suppress this dialog in the applescript itself? Or any other way to cause this dialog to not appear?

Best Answer

Holding control only shows those dialogs if a script is saved as an application. Couldn't you just save the script as scpt or applescript?