[JW Lua] AddFilter() in file dialogs

Thomas Weber thomas.weber at notengrafik.com
Thu Aug 4 20:03:32 CEST 2016


I tried the following code:

  local dialog = finale.FCFileOpenDialog(finenv.UI())
  dialog:AddFilter(finale.FCString"*.txt", finale.FCString"test")
  dialog:Execute()

I'd expect that with AddFilter(), I'd find a respective entry in the file type dropdown menu of the dialog, but I don't.  Am I doing it wrong or is this a bug?

Thomas



More information about the JWLua mailing list