I am wondering is there [menu item] to achive that (enter group editing), or better yet, script command?
*when you have group, you double click into it and everything else grays out
Edit>Prefrences>General>Double Click to Isolate
Selecting and right clicking the group brings up a menu which has such a command. Clicking the icon in the upper right corner of the layers panel brings up a menu which has such a command. (And there's a button in the control panel, at the top of the window, below the menu bar.)
There is no such function in scripting, as it is unnecessary.
Thanks for the concise answer, however, I oppose - everything should be accessible by script.