While experimenting with a recently added sample script I observed a problem which has now been tested and confirmed in a virtual machine with Opus v11.4.3 64-bit. I used this simplified code in a script button..
Function OnClick(ByRef ClickData)
ClickData.Func.Command.RunCommand("Select Filter TestFilter")
End Function
Running it once selects matching items. Running it a second time, everything is deselected. This pattern continues - executing a 3rd time selects, executing a 4th time deselects, etc..
A simple Select Filter TestFilter command in a normal button consistently selects matching items on every execution.
Regards, AB