Error messages for scripts

Scripts may not run properly in every situation. Some scripts depend on certain options and settings. If a script cannot run, it displays an error message.

If a command you have created produces an error or does nothing, open the command by using the Command Browser and check the following information:

  • If the command is application-specific, is the correct window or dialog box active when you say the command? If yes, does the title of the active window match the title specified?
  • If the command includes a list, do the list values match what you said?
  • If the command includes keystrokes, are braces included around keystrokes? Are the correct key codes used?
  • If the command runs a script, do the script commands follow proper syntax? Are quotation marks used to enclose strings, including keystroke strings?
  • If the command name contains punctuation (for example, "What Time Is It?"), did you verbalize the punctuation?