Automatically press a prompt/dialog button

If you don’t have UI Browser to inspect the UI or you can not get it to work properly here is a wonderful Macro which can you help with getting the dialogs properties an other information for Scripting with AppleScript

Greetings from Germany

Tobias