Converting action script to global script for window table

So that’s what those brackets are for. Thanks for the help; that does the trick!