> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# openfilesdialog

> Windows file picker uzerinden multi-select etkin Windows file-open dialog acar ve secilen dosyalari file item degerleri olarak dondurur.

<div className="real-function-page">
  ```lua theme={null}
  openfilesdialog(options?: DialogOptions): { FileSystemItem } | nil
  ```

  ## Argümanlar

  <ParamField path={"options"} type={"DialogOptions"}>
    Optional table. openfilesdialog icin title, defaultPath ve extensionFilter kullanilir. extensionFilter, extension strings iceren bir table olur; her filter \*.\<extension> olmadan once bastaki . veya \*. kaldirilir.
  </ParamField>

  ## Dönüşler

  <ResponseField name={"files"} type={"{ FileSystemItem } | nil"}>
    Secilen dosyalar icin file item degerlerinden olusan Array table, ya da dialog iptal edilirse veya selected filesystem paths donmezse nil. Dialog failures, Failed to open file dialog firlatir.
  </ResponseField>

  ## Tipler

  ### DialogOptions

  Yerel dosya veya klasör seçimi iletişim kutusunu yapılandırır.

  | Name               | Type                 | Required | Açıklama                                                                                   |
  | ------------------ | -------------------- | -------- | ------------------------------------------------------------------------------------------ |
  | `title`            | `string`             | No       | İletişim penceresi başlığını ayarlar.                                                      |
  | `defaultPath`      | `string`             | No       | İletişim kutusu açıldığında gösterilen dizini seçer.                                       |
  | `extensionFilter`  | `&#123;string&#125;` | No       | Seçilebilir dosyaları, başında nokta olsun ya da olmasın, listelenen uzantılarla sınırlar. |
  | `suggestedName`    | `string`             | No       | Kaydetme iletişim kutularında ilk dosya adını sağlar.                                      |
  | `defaultExtension` | `string`             | No       | Girilen dosya adında hiçbir uzantı olmadığında kullanılan uzantıyı ayarlar.                |

  ## Örnek

  Bir veya daha fazla dosya secmek icin file picker acin ve her selected file item degerini isleyin.

  ```lua theme={null}
  local files = openfilesdialog({
      title = "Choose source files",
      defaultPath = ".",
      extensionFilter = { "lua", "luau", "txt" },
  })

  if files then
      for _, file in ipairs(files) do
          print(file:GetName())
          print(file:IsFile())
      end
  else
      print("No files selected")
  end
  ```
</div>
