Keystroke lost focus in File Dialog

I want to open a PDF file and then export it as a Word Document. After navigating the menu to export to Microsoft Word Document, a file dialog opens.
Then I try to use Mouse Click Action to select the filename text field, and use Keystroke to enter the filename. But upon executing the Keystroke action, the cursor lost focus and hence the filename is not written. How to solve this?

Hi Robin.
You need to define active window to make sure that Enter Keystrokes work in it. It means you need to add Window action where you can set Window Title or selector. It should look like this:


@rcs in addition to @Lera’s suggestion, you can enable the setting to type in any window without the need to switch to it in the Preferences.

1 Like

Thank you @Lera and @ashapkina for your replies!