Using Windows' native file dialog

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Afely

I’m trying to find a solution to use Windows’ native file dialog for saving/opening files. It seems like there’s ways to do it, but I’ve never used plugins or libraries or whatever, so I’m a little lost on those fronts. This in particular seems like it could be what I’m looking for, but I don’t know what to do with it. In any case, it looks like there’s no built-in solution, so that seem like my best option right now. Any help is appreciated.

You want to use the FileDialog class. FileDialog — Godot Engine (stable) documentation in English

timothybrentwood | 2021-06-28 17:49

I asked for a way to use the native file dialog - the one that shows up when choosing files in software that isn’t made in Godot. And I only need a solution for windows.

Afely | 2021-06-28 20:22

:bust_in_silhouette: Reply From: Calinou

Godot doesn’t support displaying a native file dialog, so you have to call a third-party script that displays a native file dialog using OS.execute(). This may be feasible via a PowerShell script.