Script spontaneously broke - corrupted Applescript prefs?

Hey all,
I’ve got a very simple applescript, compiled as an executable, that spontaneously broke after a month of working fine.

The script only has a couple of lines:


Tell Application "System Events"
keystroke "*" using {command down, option down}
End Tell

It doesn’t do anything when launched, although if I add a “beep 2” before the End Tell it will successfully beep twice.

I remember once having to trash some obscure prefs and this problem went away, but now I can’t remember which prefs they were, and trashing the applescript prefs doesn’t help.

Maybe you can?

Thanks!