Apply Gateway Event Scripts to all new and existing projects

Hi,

Just finished setting up version control for projects on my Gateway, which is automated with a Gateway Event Script running on Update events. What I would like to do now is apply this Event Script to all existing projects and hopefully to new projects as they are created as well (without having to manually copy/paste the python code each time). I was wondering if anyone has done anything like this before. The problem I run into is the fact that the Gateway Event Scripts seem to be stored as .bin files that I can't decode properly to interact with. If anyone has input on this I would greatly appreciate the help.

Thank you!

There's no way to specifically apply just one particular type of event script to a bunch of projects, unfortunately. It's all an opaque, Java-serialized blob of data. In a future version, we're planning to update the serialization so that resources are saved in a human readable format, but until that happens, the only thing you can do here is completely replace the resource with another.

1 Like