Thanks for providing the code. Really appreciate you reply. I tried and it worked. Actually I’m trying to call a Javascript function which will going to return me an iframe window . That Iframe window i need to display on Macro Editor left side parameter window. Something like this .

Could you please me with this ? How can i achieve it ?
One more question : When we call JS function from confluence macro then how can access that response in our macro execute method ?
Thanks