Important: The information in this document is obsolete and should not be used for new development.
Recording Interactions With Dialog Boxes
When executing scripts, users normally do not want to see dialog boxes. Therefore, your application should record information specified by the user in dialog boxes rather than sending events that would cause the dialog boxes to appear during script execution.For example, suppose a user chooses the Close command and the standard save changes dialog box appears. If the user then clicks Save, your application should send a Close event that corresponds to a statement like this:
close document "MyDoc" saving YesAny settings in a dialog box that the user does not change (such as the range of pages to print in a Print dialog box) should not be recorded.