Windows External file copy and delete by Send Event
I use following sent event to delete or copy Windows file:
Send Event ["aevt"; "odoc"; ""cmd /c copy c:\1.txt c:\11.txt"]
It works. But, script will execute next line once the event is sent. I need to wait until the event is completed before move to next line. How can I do it?