How to make a script wait

until file is finished copying?

I made a script to copy a file to another maching and then open it in an app. it works with smaller files, BUT with larger files it starts to open it in the other maching before the file has finished copying over, resulting in an error.

How can I make the script wait until the file has completed copying before it opens in the app?

BTW I am very new to applescript, this might be a really simple thing :slight_smile: