Cant save screenshot using result window from python script. None of activities running after python

Hi,
I have tried to save screenshot from python script output window. After running python I have used Use application activities and indicated the output window from python script. Application path@“C:\Users.nuget\packages\UiPath.python.activities\1.6.0\bin\net461\UiPath.python.host.exe”. After running python script I need to close result window then it will move forward to the Use Application activities since the python script output window is close I am getting erorr which is obivious. Any suggestion where I need to improve? Please have a look at screenshot for used activities.
image

@Govinda_Bhandari

Can you be a little clear on what you are trying to achieve and what you are facing issue with?

cheers