当我尝试使用crt.Dialog.FileOpenDialog(根据需要的属性)浏览文件时,浏览窗口不会出现在顶部,而是出现在其他一些窗口的后面。
我尝试使用焦点,但没有得到想要的输出。
CommDecodeFileNameSelected = crt.Dialog.FileOpenDialog("Select csv Filename to upload", "Upload", "", "All Files (*.txt)|*.log||")
CommDecode_g_objIE.Document.All("filename").value = CommDecodeFileNameSelected我希望浏览窗口出现在顶部。
发布于 2019-06-13 11:30:37
在上面两行之前添加
CommDecode_g_objIE.Document.All("ButtonHandler").Value = "Nothing Clicked Yet"
CommDecode_g_objIE.Visible = False
CommDecodeFileNameSelected = crt.Dialog.FileOpenDialog("Select csv Filename to upload", "Upload", "", "All Files (*.txt)|*.log||")
CommDecode_g_objIE.Document.All("filename").value = CommDecodeFileNameSelectedhttps://stackoverflow.com/questions/56554352
复制相似问题