Automate Format Picture bar in MS Word

word
activities

#1

I am inserting an image into a word document and after insertion, I want to do some formatting on it (size, wrap text etc). However, when I select an image, I am not able to access Picture Tools options. I am using “Type Into” activity here. I verified my selector in UIPath Explorer and there it is to be working fine.

This is my selector for aeccessing height option. I have tried multiple options for selector but i don’t think that is an issue.

Kindly suggest.

Regards
Ashish


#2

@Ashish_Maheshwari, there wasn’t any selector attached.

I am using Word 2016. To format the picture after it is inserted, I have to right-click on the image, then add another click (which requires using F2 to delay, so you can actually right-click on the image. Here’s a workflow that I’ve tested on my machine.

Regards,
burque505

FormatPictureInWord.zip (188.5 KB)


#3

Hi,
When the image is selected the Picture Tools properties should be in the Menu Ribbons; if it’s not then image isn’t selected or maybe you aren’t on 2010 or later version. If those properties are there then this is my suggestion, use key combinations.

If you press “Alt” you will notice letters appear on the Menu items so if you use those letters you can change the height/width and other options very easily without element vision.

For example,
TypeInto
"[k(alt)]jph2[k(enter)]"

That will go to the Height property in the Menu and change it to 2 then press enter key.

Hope that helps, cause I really think element clicks can be unstable sometimes.

Thanks.


#4

@Ashish_Maheshwari, I agree with @ClaytonM that using the keyboard is better than the mouse when possible. I like his suggestions. Here’s a little workflow that incorporates them.

Regards,
burque505

FPIW.6498.zip (187.9 KB)

And thanks, Clayton :slight_smile:


#6

Hi there!
try the latest version of the Word, everything should be there automatically, or format the image in Photoshop, you can read about it on the site FixThePhoto


#7

I am also facing the same issue regarding formatting picture bar in ms word, As I am using ms Word 2010, How can I do it in ms word 2010 and using Acer laptop, I am not able to add another image the only image is being added, So, For my query I had also contacted Acer customer service for help, and must say their technical team is working very hard and provides the best solution, And their technical representatives are having hands-on training in this particular field.And If anyone also wants help they can contact them.