ScriptCommand recursive, does not "runonce"

This problem still exists, I'd appreciate if you could have another look into this.
The script output above, should print "RecursionTest CalledFromScriptCommand" just once and not three times (matching the number of selected files).

To explain once more in one sentence:
If a script command A executes a script command B with "RunCommand()", the script command B will be run as often as there are items involved (selected), which to my eyes is wrong and leads to very unexpected result here.