Xyplorer cant rename items input quotfocus11/13/2023 ![]() ![]() Getkey $nb_renamed, "NbRenamed", "MultiItemRename", "tmp.ini" Setkey $nb_untouched, "NbUntouched", "MultiItemRename", "tmp.ini" $nb_untouched = 0 + (($new_name = $old_name_only) ? $nb_untouched + 1 : $nb_untouched) adds 1 if old & new names are the same Getkey $nb_untouched, "NbUntouched", "MultiItemRename", "tmp.ini" $new_name = ($new_name = "") ? $old_name_only : $new_name in case no new name was specified, we use the old name and add prefix for now to avoid collision Load ($p > -1) ? $script_fix : 'incr $void ',s $script_fix = 'getkey $old_names, "OldNames", "MultiItemRename", "'.$path.'\tmp.ini" getkey $new_names, "NewNames", "MultiItemRename", "'.$path.'\tmp.ini" setkey $old_names."'.$old_path.'\'.$new_name.'.~mir|", "OldNames", "MultiItemRename", "'.$path.'\tmp.ini" setkey $new_names."'.$new_name.'|", "NewNames", "MultiItemRename", "'.$path.'\tmp.ini" ' "fixing" script: adds "real" rename at the end of the queue: the temp new name (with prefix) as extra old name, with the real new name as new name locate an item with the new name in the items to be renamed next Substr $new_names, $new_names, $new_pos + 1 Substr $old_names, $old_names, $old_pos + 1 Substr $new_name, $new_names, 0, $new_pos Getkey $new_names, "NewNames", "MultiItemRename", "tmp.ini" Substr $old_name, $old_names, 0, $old_pos Getkey $old_names, "OldNames", "MultiItemRename", "tmp.ini" we only start renaming loop if there is a new name and an old name ![]() Setkey $new_names, "NewNames", "MultiItemRename", "tmp.ini" Input $new_names, "Enter the new names for selected items, one name per line", $old_names, m Setkey $old_names, "OldNames", "MultiItemRename", "tmp.ini" $old_names = getinfo("SelectedItemsPathNames", "|") Msg "Nothing selected in the file list." Sub (getinfo("CountSelected") = 0) ? "_mirNoSel" : "_mirStart" However the bugs mentioned makes it still cumbersome to rename directories easily.Code: Select all "Multi-Item Rename. I would like to use XYplorer for renaming directories in this way because it has a fine feature of not resetting a newly entered name when there's still a file open in the directory. Make it customizable for fonts and sizes to easy editing and put a character counter in it (a single row text processor). Make a separate central pop-up input/dialog box for renaming items. The Tree should stay in place and the input box should extend on top of the List pane in this case.ĭispose renaming on top of item names as is done now. That's annoying because you've to scroll the Tree pane back again every time you want to rename a long directory. The long name becomes visible in the input box thereby pushing the Tree pane to the far left out of view. Press Enter to finish renaming the directory.īug 2 (or should this one be on the Wish list?): When the name becomes longer than the width of the Tree pane, the input box is covered by the List pane and you cannot see what you're typing. Rename the folder by F2 or double clicking it. ![]() not truncated by the divider between the Tree and List pane. Select a Directory (folder) with a short name that is fully readable in the Tree pane, i.e. No dual panes (standard Windows Explorer look). ![]() Tree pane left (1/3 of screen width), List pane right (2/3 of screen width) ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |