Hi Javi, For me, the following three instructions entered in the Python console of NVDA work well, maybe you did not specify the parent?
import gui fileDialog = wx.FileDialog(gui.mainFrame, message="Test", wildcard=("Text (*.txt)"), defaultDir="c:", style=wx.FD_OPEN) fileDialog.ShowModal()
Hello. Does anyone know why I can't use a wx.FileDialog in a globalPlugin script? NVDA crashes. However, elsewhere, for example calling it from the NVDA menu it works perfectly. Thanks -- Javi Domínguez github.com/javidominguez PGP key 0x306E0E300D2F6661
Hello.
Does anyone know why I can't use a wx.FileDialog in a globalPlugin script? NVDA crashes. However, elsewhere, for example calling it from the NVDA menu it works perfectly.
Thanks
Javi Domínguez
github.com/javidominguez PGP key 0x306E0E300D2F6661
github.com/javidominguez
PGP key 0x306E0E300D2F6661
© 2023 Groups.io