Nor it could be possible.
Exactly. This is because commands don’t have a value attached to them, they’re just getting triggered (OK let’s say this is value 1).
Even in my more advanced scripts, I avoided such manipulations/complications, simply because we can always have the Preferences→Editing→Auto Select Events under Cursor always enabled. To my workflow it’s crucial, because this way I split, glue, cut/copy/paste etc etc. So I didn’t find a good reason not to have it enabled. But then again, it’s my personal way of working.