Screenshot of youtube video and save into ppt

hi, please help … i’m making a flow having following steps:- open the browser in which have Youtube URL take screenshot of video after every 5 sec save into ppt one by one

@DUSHYANT_MEDHAVI

Could you please tell me what issue are you facing here ? So that we can help you.

1 Like

actually! i’ m reading a youtube url form email and after then not able to get the process how i will take screenshot of video for every 5 sec and save into ppt one by one…

1 Like

@DUSHYANT_MEDHAVI

You can use Take Screenshot Activity to take screenshots and use Delay Activity and Specify “00:00:05”.

To add into PPT, please check below UIpath Go components.

https://go.uipath.com/components?sort=most_relevant&search=PowerPoint

1 Like

Fine
–once after opening the url and playing the video, usually we will be getting a replay symbol getting displayed at the end of the video…fine
–then use a retry scope Activity where in the upper part include sequence like,
-use a find image Activity and scrape that replay option as image and get the output variable
Use a take screenshot Activity and get the image as output with . PNG format
Then use a delay Activity and mention the time stamp as 00:00:05
–in the lower part, that is condition part use image exists Activity or element exists Activity
Pass input to element property with the output obtained from find image or find element Activity
–increase the number of retries to 100
Once that replay button appears this will take screenshots for every 5 seconds

Hpe this would helpyou
Cheers @DUSHYANT_MEDHAVI

1 Like

Thank for sharing it …

1 Like

HI, @Palaniyappan
not understood this step
Take screenshot Activity then how will get the image as output with . PNG format

showing compiler error encountered processing expression “screenshot” value of type Uipath.core.image can not be converted to Ui Path.core.Ui Element