How to rotate PDF file in UiPath

uiautomation
pdf

#1

Hi,
Can anyone please suggest how to check each page of pdf is not in the correct angle and how to rotate that using automation?


#2

send the hotkeys to rotate clock wise or anti clockwise
CTRL + SHIFT + - ( minus sign )
CTRL + SHIFT + + ( plus sign )


#3

Just a heads up - this will only rotate the view you see the document in. You will want to use ctrl + shift + r and then use click activities to choose the correct rotation settings. This will change the actual PDF itself instead of just your view.

Also, I’ve noticed various issues with the Send Hotkeys activity - you may want to use the Type Into activity instead as it seems generally more stable, plus you don’t have to use selectors for anything if it’s contained within an attach window which is nice :slight_smile: