Troubleshooting
Problem 30: Scripts you created with Script Editor are not working properly.
If your script is not working properly, try to identify where the script is failing, and insert a delay at those points in the script. If this does not solve your problem, try recreating the script without using your mouse (that is, use keystrokes and commands). Scripts that consist of keystrokes and commands are more reliable than scripts that contain recorded mouse movements.
Also, open your applications before you start recording. Using desktop short cuts and the Start menu during recording may cause problems with your script.