Originally posted by rraghvani on September 04, 2025
I have a simple script to select multiple files in Explorer by holding Ctrl key and clicking the appropriate files.
function Explorer()
{
// Select multiple files via Ctrl and Click
let items = Sys.Process("explorer").Form("C:\\Temp - File Explorer").Panel("C:\\Temp").Window("DUIViewWndClassName", "", 1).Pane("Explorer Pane").Window("CtrlNotifySink", "", 5).Panel("Shell Folder View").List("Items View");
items.ListItem("Results").Click(-1, -1, skCtrl);
items.ListItem("Download").Click(-1, -1, skCtrl);
items.ListItem("FrameSupportSample").Click(-1, -1, skCtrl);
items.Click(-1, -1, skNoShift);
}
It works. However, the Ctrl key seems to be always pressed, even after inserting the last line to perform skNoShift. I don’t use Click + Shift/Ctrl/Alt in my scripts, but the behaviour it is definitely not correct. It’s definitely a bug! As a workaround, you have to press the Ctrl key again, to release it!
Great find, but how on earth did it pass their regression tests . Ensure you open a support ticket.