Is there an easy way to overwrite an existing file? When saving a file, the confirmation window to overwrite the existing file has the same properties as the Save As window.
Try identifying the dialog windows by specifying the child objects required for the recognition of the dialog windows (e.g. the 'Yes' button for the confirmation dialog and the 'Save' button for the 'Save As' dialog). To learn how to accomplish this, see the 'Specifying Child Objects Required for Mapped Object Identification' help topic.