Drag file rename
Posted: 31 Mar 2013 19:02
Is it possible make an option to drag one file onto another and by this replace its name but not extension? Will be very useful for subtitles.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
Solving this was my very first script and the mostly used since then. Frankly, that was the moment when I fell in love with XY. I was so glad I could invent an easy way to this repetative task, matching the movie and the subtitle name. (It would have been impossible in my previous file manager.)Zekses wrote:Is it possible make an option to drag one file onto another and by this replace its name but not extension? Will be very useful for subtitles.
Code: Select all
"Name matching|c:\windows\system32\shell32.dll / 250"
if (<curitem> != "" AND <curitemprev> != "")
{ call renameitem("<get curitemprev base>", , 1)
} else {
status "Missing selection", , "alert"
}