I’m sure it’s possible to write such a script in Visual Basic. I did something similar a couple of years ago to get “live” data directly from an Excel spreadsheet into an InDesign document. Usually I do this via CSV-file because it’s easier. From my practical experience I can say that interacting of InDesign with other apps (VB for Windows/AS for Mac) works well.
Thank you, Kasyan.
Very interesting! I'll check it out, Uwe, thanks.