![]() ![]() 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" 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" Once you click the 1st Tags Tab, the 2nd row of Tabs (in the Find Pane) will disappear.Ĭhange tags XY40.jpg (157.Code: Select all "Multi-Item Rename. ![]() The 1st Tags Tab is located in the Properties Pane while 2nd in the Find Pane. Select the Tags Tab in the first row in the Info Pane. Select the tagged items of interest with Find (Ctrl+F).Ģ. There's another recipe I use routinely but not yet approved by Don :ġ. Reason: For better performance, the comparisons are done by byte, not by character.Īnd, finally, don't forget to read the manual. You must care for the right capitalization of the file names. If you manually edit tag.dat and are unsure about the correctness of the sort order, you can have the data sorted by using "Database Clean Up." in Configuration | Tags.Ĭapitalization matters. The tagged item lines must be in binary ascending sort order (A < B. Line 4: Tagged item #1: Full filename|LabelID|Tags|reserved1|reserved2|reserved3|Comment. Line 1: Header and version info: XYplorer File Tags v2 The file is kept in an open, simple, and human-friendly text format (UTF-16 Text File) so that you can easily edit it manually using an editor or programmatically using any scriptable software.įile Format of the XYplorer Tag Database (version 2) All tag data are retained across sessions and stored in one file, tag.dat, located in the application data folder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |