AppleScript can't activate Numbers
I can't get AppleScript to activate numbers. Even the simplest script, such as:
tell application "Numbers"
activate
end tell
won't work. I get this error message:
error "An error of type -10828 has occurred." number -10828 from application "Numbers"
I'm running Mountain Lion 10.8.2 with Numbers version 2.3 on a MacBook Pro. I have the same configuration on a Mac mini and have no difficulty getting that same script to work.
Any idea how I can fix this?
MacBook Pro, OS X Mountain Lion (10.8.2)