Browse every object in a view

Hi
Is it possible to browse every object (component, embedded view) in view with scrip?
Do I have to already open the target view? Or I can do it in another view or gateway?