What does this mean? Does the macro hang? Or XClick runs but does not do what it should do?
Different topic: Instead of a hard-coded Pause statement you could use visualAssert or visualVerify to wait for the image of “Export beendet” to appear. See If {picture} then {do this}