Hi Pilou, there is no HTML file in this case. It is possible to rename the script to something else but for this case if you renamed it tom.js you would type in tom.js. Note the ending .js there - that will make MoI run it as an "instant script" rather than as a command.
Commands should not have the ending .js while code intended to run as immediate script code should have a .js at the end.
Utility functions that involve selection or view manipulation can be good to run as immediate script because they can then do their thing even while inside some other currently running command.
- Michael
|