Delay in Clicking “Save” Button on Print Dialog Using Send Hotkey Activity

Hi All,

I’m facing an issue with the Send Hotkey activity while clicking the Save button on the Print dialog box. The BOT takes around one minute to click the Save button.

Previously, with the older version of UiPath Community Studio, this action used to take only a fraction of a second. If I uncheck the “SendWindowMessages” property, the click happens within 1–2 seconds, but in unattended (background) execution, it doesn’t work. I have uploaded a screenshot for reference.

Could you please suggest a solution or an alternative approach to resolve this delay issue?

Thank you,
Keyur Mehta

Hi @keyur.mehta

You can go for the mordern keyboard shortcut Activity

If thats not working use simulate click activity to click on the Save button.

Hope this helps :innocent:

@keyur.mehta ,

Check the selector and the type. Looks like the bot is relaying on the image selector which is a fallback option means if the strict/fuzzy selectors fails to identify the Ui element, bot tries to find element by image.

Reindicate the selector again without image or computer vision.

I tried using the Keyboard Shortcut activity with the required property values, but I’m still unable to perform this task in background mode.

I’m also unable to capture a selector for the Print dialog box. I tried several alternative approaches, such as using the Type Into activity to press Enter on the Save button, but none of them worked.

@keyur.mehta

The button you are trying to click is not a part of your existing Use Application/Browser activity scope.

Follow these steps:

  1. Just add another Use application/browser activity,
  2. Indicate the print dialogue as window.
  3. Add a click activity to indicate the Print this Page button.

Recommended Solutions and Workarounds

Option 1 — Use “Simulate Type / Click” Instead (Preferred for Background)

Try replacing your Send Hotkey with:
• A “Click” activity on the “Save” button, with:
• InputMode = Simulate
• WaitForReady = Complete

If you can reliably identify the Save button using the modern UI selector (e.g., via UiExplorer with UIA or AA framework), this is the cleanest and fastest method.

Option 2 — Use “App / Browser Card” with Modern Activities

If you’re on UiPath Studio 2024+:
1. Open your automation in the Modern Design Experience.
2. Wrap your Print dialog step in an “Application / Browser” card.
3. Use a Click or Keyboard Shortcut activity inside that scope.

UiPath’s modern input system handles background input simulation differently, often bypassing the legacy delay of SendWindowMessages.

Description

Hi All,

I’m facing an issue with the Send Hotkey activity while clicking the Save button on the Print dialog box. The BOT takes around one minute to click the Save button.

Previously, with the older version of UiPath Community Studio, this action used to take only a fraction of a second. If I uncheck the “SendWindowMessages” property, the click happens within 1–2 seconds, but in unattended (background) execution, it doesn’t work.

Could you please suggest a solution or an alternative approach to resolve this delay issue?

Thank you,

Link

https://forum.uipath.com/

Date

2025-11-11

Related UiPath products

Studio

Thank for you quick reply and support.

I tried with all options mentioned here. But did not work for me. I found a solution for that and it is working for me.

I used Attached Window activity with below mentioned selector.

Inside Attached Window activity, added send hotkey with following setting. It worked for me in foreground as well as background execution.

Thank you one more time for your support.

Regards,

Keyur Mehta

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.