Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
AcerbicMaelin
7 years agoExplorer | Level 3
Renaming files: windows re-selects entire filename when other files resync
Found a reproducible annoyance in Windows 10 with Dropbox. I often cycle through a lot of folders using the tab key to rename them one at a time, and this produces an issue where, as soon as the Drop...
- 5 years agoHey AntennaMan!
Thanks for following up with us!
It looks like this is not a Dropbox specific issue, and it's appearing with other cloud programs as well.
Now, it'd be wise to note, that since this isn't an issue caused by Dropbox or pertaining just to us, we're not able to provide a precise solution.
I'd definitely suggest checking in with Microsoft about this, as well just to make sure you've exhausted all options and to also let them know about this.
Give me a nudge if you have any other questions!
Ben H.27
6 years agoHelpful | Level 5
To sort of work around this problem, I've created the following AutoHotkey script which is triggered by Ctrl + R and, every time, moves the text cursor to just before the file extension:
GroupAdd, FileExplorer, ahk_class CabinetWClass ; Normal window
GroupAdd, FileExplorer, ahk_class #32770, ShellView ; Save as / open window
GroupAdd, FileExplorer, ahk_class WorkerW ; Desktop view
; FileExplorer_GetSelection() is from a third party
FileExplorer_GetSelection(){
WinGetClass, winClass, % "ahk_id" . hWnd := WinExist("A")
if !(winClass ~="Progman|WorkerW|(Cabinet|Explore)WClass")
Return
shellWindows := ComObjCreate("Shell.Application").Windows
if (winClass ~= "Progman|WorkerW")
shellFolderView := shellWindows.FindWindowSW(0, 0, SWC_DESKTOP := 8, 0, SWFO_NEEDDISPATCH := 1).Document
else {
for window in shellWindows
if (hWnd = window.HWND) && (shellFolderView := window.Document)
break
}
for item in shellFolderView.SelectedItems
result .= (result = "" ? "" : "`n") . item.Path
if !result
result := shellFolderView.Folder.Self.Path
Return result
}
Move_TextCursorToEndOfFileOrFolderName(Name){
SendInput, {End}
DotPosition := InStr(Name, ".", False, 0) ; 0 makes it search from the right-hand side
If ((Name != "") And (DotPosition)){
Length := StrLen(Name)
MoveAmount := Length - DotPosition + 1 ; + 1 ensures that the text cursor is moved to the left-hand side of the file extension
SendInput, {Left %MoveAmount%}
}
}
#If WinActive("ahk_group FileExplorer")
; Ctrl and R → Invoke file rename, deselect whole file name, and move text cursor to (1) the end of the name if a folder or extensionless file or (2) the end of the file name but before the file extension.
^r::
Path := FileExplorer_GetSelection()
SendInput, {F2}
SplitPath, Path, Name
Move_TextCursorToEndOfFileOrFolderName(Name)
Return
#IfI hope it helps others while this problem remains.
Joe95
6 years agoHelpful | Level 7
Love the script Ben H.27, I have a few similar work arounds using AHK so it's nice to see a fellow user!
One question on your code, you have it set to trigger on Ctrl + R, however this is the 'refresh window' shortcut, do you find that causes any issues?
Just wondering if a different trigger key would be more useful, or if it isn't a problem to begin with?
- Ben H.276 years agoHelpful | Level 5
Hi Joe95
Thank you!
Personally, I've always used F5 to refresh applications so it hasn't been a problem for me but anyone can set their own hotkey by replacing "^r" with a different combination (refer to https://www.autohotkey.com/docs/Hotkeys.htm).
Ben.
- Oli_W6 years agoHelpful | Level 5...and now they’ve made it an extra click to pause syncing (now have to choose how long to pause for). It’s getting more and more annoying!
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!