Creating LinkedScripts and setting their contents in Lua

Working with linked scripts seems a viable way to have group-owned scripts in many group-owned places at once while only having to update them in one instance. One thing I do run in to, however, is automating the process of adding/updating them.

  1. Can linked scripts be created (in a Plugin context) from regular scripts automatically?
    Ideally I’d want to convert a list of Scripts to LinkedScripts.

  2. Can I automate updating the LinkedScripts by Synching them with equally named Script instances? This would make it much less of a hassle to use an external editor. Essentially I’d like to know if I can write to the RemoteSource if I have the source its name.

Are there concerns if the above cases are currently impossible but would be made possible? If there are no serious issues arising from this I’d likely make it a feature request.

1 Like