AppleScript Keystroke not working
I have an application (Elite Dangerous for Mac) and I am trying to send key strokes to it using AppleScript. It is not a "scriptable" application officially, but it seems to me that it should still respond to a "keystroke" or "key code" command from an AppleScript should it not??
Don't the "keystroke" or "key code" commands using "System Events" mimic an actual keyboard? Could an application know the difference between me using an actual, physical keyboard or sending "keys" from AppleScript??
Are there any alternative methods for accomplishing this in AppleScript?