Home » Questions » Computers [ Ask a new question ]

Windows 7 Copy File dialog keyboard accelerators

Windows 7 Copy File dialog keyboard accelerators

In Windows XP, when copying/overwriting multiple files, you could press Alt + A to copy/replace all.

Asked by: Guest | Views: 115
Total answers/comments: 1
Guest [Entry]

"After thinking about it some more, I realized I could accomplish this with AutoHotkey.

Save the following into a script and run it with AutoHotkey. The key combination is Alt + A. It simulates pressing Alt + D, Tab, Tab, Tab, Space when a window titled ""Copy File"" is active.

NOTE: The IfWinActive function matches partial titles, so if you have this running and the title of the window has ""Copy File"" in the title, AutoHotkey will send the keys to that window as well.

;alt + a ... do replace all on select file dialog
#IfWinActive Copy File
!a::
SendInput !d
SendInput {Tab}
SendInput {Tab}
SendInput {Tab}
SendInput {Space}
return"