Pressing the <Esc> key from within JSL
Is there a way within a JMP script to simulate pressing the key?
The reason I want to do it is that if I'm using the ArcBall feature to inspect a 3D scene that I've created, and I then try to switch to a different 3D scene while the first scene is still rotating, the second scene sometimes doesn't load (both in JMP 7 and JMP 8), especially if the first scene contains a lot of information. If however I stop the first scene from rotating first, then I don't have any problems. What I want to do therefore is ensure that at the time I load the second scene the first one isn't moving - and I can do that by pressing the key before swapping the scenes over. Since the scene switching is being done in JSL however, I don't want to have to do that manually.
I've tried incorporating "wait(0)" into the script but to no avail - and simulating is the only other way I can think of solving the problem. Obviously however if anyone has any better ideas, I'm all ears.