Maxscript: selected VrayBitmap(s)

How can I use the selected bitmaps here instead of a specific bitmap?
rootScene[#SME][#View1][[B]#Map__1____VRayBitmap[/B]]

https://forums.autodesk.com/t5/3ds-max-programming/access-selected-node-in-slate-material-editor/td-p/8629642

Thanks Lele