Hi Team,
As per my requirement, I need to take screenshot and highlight the border like below
Can someone help me in achieving this using uipath
Regards,
Revathi
Hi Team,
As per my requirement, I need to take screenshot and highlight the border like below
Can someone help me in achieving this using uipath
Regards,
Revathi
Thanks for the reply. I have tried installing the package but still I am not getting border for the screenshot.
Basically, i am looking for screenshot which looks like below
Regards,
Revathi
What is the next process you have to follow after taking the screen shot of the screen, like inserting in Word, Excel or PPT?
screenshots whatever I am capturing doesn’t have border but i want border for my screenshots.
Yes yes… I got it usually Screenshots don’t get a border because it is an additional property of the image.
To give you a start, you can use the below VBA Script to create the Border for the images in Word document.
Sub Border()
Dim i As Long, j As Long
With ActiveDocument.Range
For i = 1 To .InlineShapes.Count
With .InlineShapes(i)
.Borders(1).LineStyle = wdLineStyleSingle
.Borders(1).Color = wdColorAutomatic
End With
Next i
End With
End Sub
You can edit the above script according to your requirement like:
To increase the border width add this property in your With
properties - .Borders(1).LineWidth = wdLineWidth225pt
Can i use it under word application scope because it is giving me error that i need to use it under excel application scope
You can use Invoke VBScript activity inside the Word Application Scope.
or
You can refer to this activity Go here
Thankyou. Actually i am new to Uipath so can you please show me an example of invoke VB script
Regards,
Revathi
I have added this script in vbs file and i am invoking using invoke VBScript activity but changes are not getting reflected. Below is the uipath code which I have added. Request you to help me in resolving this.
Thanks,
Revathi
Hey @revathineelima, Sorry for the delayed response.
Yes, I too had noticed this issue.
Have you seen the alternate process with provided custom activities?
I need to add the Image to PPT , I need to add border to screen shot and add the screenshot image to ppt, can you tell me how to do this?