This indeed is a good suggestion, but we need to consider that this setting might not be applicable to all the processes running across the same VM while would use this PDF document setting.
Some process might as well use opening the PDF in another tab, scraping data or related activities.
@Keshav_Choudhari - It would be good to consider all aspects before implementing this setting for the process.
UiPath is still focused on the first tab, so Ctrl+P prints that one.
Changing idx does not switch tabs.
- Activate / attach to the PDF tab first (Use Application/Browser → indicate PDF tab), then send
Ctrl+P
OR - Send Ctrl+Tab, wait briefly, then send Ctrl+P
Hotkeys work only on the active tab, not based on idx.