Re: [micro-manager-general] Call additional scripts from within a script
Status: Beta
Brought to you by:
nicost
|
From: Carlos G M. <tr...@ac...> - 2020-03-30 19:56:56
|
Then,Patrick // Leibniz-IPHT @ 30/03/2020 16:33 -0300 dixit:
> The problem is that even when I use the startup script to call a very simple script like the one below ( by 'run("..\\settings.bsh")';):
This is, I guess, because you are running the script without context
when you "run" it, and so there is no mmc there.
Try "sourcing" it (i.e. interpret it in th current context) by:
this.interpreter.source("..\\settings.bsh");
-Carlos
--
Carlos G Mendioroz <tr...@ac...>
|