Issue with scripting and an object's 'locked' property

 From:  Michael Gibson
6317.3 In reply to 6317.1 
Hi Jeff, also one thing that may be more convenient for when you're developing these scripts would be to put the script as a separate .js file in some spot like c:\scripts .

Then in the shortcut key if you put in a full path to a script file, it should load it and run it as "inline executed script" (as opposed to a "command" which has other kinds of setup and cleanup done before running) the same as code directly pasted into the shortcut key entry itself would do.

Then in moi.ini also set:

[UI]
...
DisableFileCaching=y

So that MoI will read in that script file from disk every time you run it rather than caching it.

- Michael