It's my first time posting here so I would like to say hi to everyone and thank you for helping.

We recently made the move from zenworks 7 to 11 and would like to know if there is a way for a package to wait for a certain window to close, internet explorer, then copy something. Let me explain in more detail

1- Open internet explorer
2- Wait for the user to save some files in a directory
3 - When the user close internet explorer I want to copy the files from a directory to another one.

Right now what I'm doing is opening internet explorer then I execute a VBS script that looks in a folder every 10 seconds if the files are there and copy them over. But I'm not sure it's the correct way to do it.

Thank you for your help