I've spent a long time searching forums, and I can't find anything that shows how enable a file to be renamed just by typing. I'm not providing a specific string for the new name, I want to be able to type a custom name on the fly.
The only part that I can figure out is determining if a File Explorer window is currently active. From there I need to verify that exactly one file is selected, get it's handle, and then simulate the Right Click-Rename.
Code: Select all
#ifWinActive, ahk_exe CabinetWClass
A related question; Is there anyway to disable the feature where clicking the name of a selected file causes it's name to be editable? I never ever do this intentionally, but I accidentally trigger this constantly.