On another PC it works. I can't find any difference in the script line 15. I could run the Script 1 time and the 2nd time it Show this error
Set myInDesign = CreateObject("InDesign.Application")
Rem Set the user interaction level to allow the display of dialog boxes and alerts.