I have been looking at the help to find this out. Basically i want to copy a file, leaving the extension intact, but rename filename with a rename preset script. Script, because i want yesterdays date in the filename. With buttonpress.
For example:
Original file: D:\data.xlsx
Copy that to C:\data_2020_0923.xlsx (yesterday)
Thank you @lxp for your time! Works great! I appreciate it!
So currDate.Sub(1, 'd'); subs 1, so if i do something like currDate.Add(1, 'd'); will it add 1? Will currDate.Sub(-1, 'd'); add 1?
Is there a simple way to enable this for drag-and-drop? Like in the filetypes editor - all files - drop menu? I thought if it works in a button then it should work with drag-drop. It also works in a right-click context menu.
Should be possible via Settings > File Types > All Files and Folders > Drop Menu, assuming the aim is to access it for the right-mouse drag & drop menu.
In a context menu you need to specify the script language on the top line of the script (it defaults to vbscript). Add @script jscript as the first line.
When i drag from the right to the left pane it doesnt do anything.
I can drag onto the tree, on a folder inside the folder where the file is, everything else works fine except from source to destination.