Display select file dialog Action(Power Automate Desktop)

05/15/2023

Japanese version.

Used to ask the user to specify a file.

How to use

Drag Display select file dialog Action from the Message Boxes to the Workspace.

Set parameters.

Parameters

Dialog title

Specifies the title to be displayed in the upper portion of the dialog.

Initial folder

Specify the folder to be displayed when the dialog is opened, either by folder path (text) or by folder info variable.
If not specified, it will be the document folder or the previously opened folder.

File Filter

Specify the format of the files that can be selected.
For example, to restrict to text files and executable files, specify ".txt;.exe".

Keep file selection dialog always on top.

When turned ON, the dialog will always be visible.
Turning it OFF hides it behind other windows.
In many cases, it is easier to use if you turn it ON.

Allowed multiple selection

When turned on, multiple files can be selected by Shift+click.
In this case, the results are stored in a list.

Check if file exists

If ON, only created files can be selected. If you want to select only created files, turn ON.

The result of the action is set. The name of this variable can be changed.
If multiple actions of the same type are to be set up, it is recommended that the name be changed to indicate what kind of dialog is being used.
If there are variables that are not used, it is recommended to turn them off.
(To avoid adding unnecessary variables to the flow variables in the inspector)

Variables produced

SelectedFile

The file information selected in the dialog is set.
If multiple files are selected, they are set as a list.
If the Cancel button is clicked, it will be empty even if selected.

ButtonPressed

The button you click is set.

  • Open
  • Cencel

On error

Error handling if necessary.

For those who want to learn Power Automate Desktop effectively


The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Power Automate Desktop to streamline your workflow.

Links

Message boxes Actions

Examples of Use

What to do if the specified file does not exist.

How to deal with the case where the specified file already exists.