Can you select path from the Menu?
Yes, I do.
I do not know exactly how it works, but I found the condition under which this bug appears and does not appear. Everything works with Windows Explorer. IF I have XYplorer open with the "This PC" tab PINNED, then when the save dialog opens, it closes saving a file named "This PC". If the tab with "This PC" is not fixed or the tab with the name "This PC" is not open, then there is no bug! Try opening "This PC" in XYplorer and reproduce the bug. And one more condition: The "This PC" tab should be on the far left. And the focus in XYplorer is on the panel where this tab is open.
https://jumpshare.com/s/NFKtYoZueJbwF0WJmD1e
if change the code:
Code: Select all
if (_path = path) {
; Successfully changed
ControlSend,, % "{Enter}", % "ahk_id " editId
; Restore filename
ControlFocus,, % "ahk_id " editId
ControlSetText,, % _fileName, % "ahk_id " editId
return true
}
to:
Code: Select all
if (_path = path) && (path != "This PC") {
; Successfully changed
ControlSend,, % "{Enter}", % "ahk_id " editId
; Restore filename
ControlFocus,, % "ahk_id " editId
ControlSetText,, % _fileName, % "ahk_id " editId
return true
}
return false
}
then the "save" button is not pressed automatically, but AutoSwitch stops working (at least with XYplorer open).