Pozia,
Код:
if WinExists('VMware Workstation','By restoring this snapshot, the current state will be lost.') then ControlClick('VMware Workstation','By restoring this snapshot, the current state will be lost.','Button13')
или просто так:
Код:
ControlClick('VMware Workstation','By restoring this snapshot, the current state will be lost.','Button13')