So no. You cannot use "canvas" with InDesign.
But you have to wait some time you can make it happen or having it tested.
Thank you @Laubender,
Is there a workaround then? like for example:
We have access to file system here, right? (.exportFile()) if yes, then we can write data in a csv file and acquire those in the second script and letting the first script to know when everything is ready again by changing a var on the txt file as well! does it look feasible or is there any obstacle I'm not seeing here?
Also is it possible to call / open an external file (like an exe or bat file) from within the in-design scripts?
thx again, mim
And yeah! It looks like I can execute an external file of any type!
After reading and looking for a while, finally:
In 52th page of documentation it says:
Opens this file using the appropriate application, as if it had been double-clicked in a file browser. You can use this method to run scripts, launch applications, and so on
Voila! Exactly what I need (If what I think I need is actually what I need! indeed!!)
I'll try to see if it works later on (impatient actually!), and thx again!