for a coding snack this is turning out to be quite an excercise 
many thanks, that's high praise indeed.
actually, this is pretty cool, not only have I written a file renamer, but it does compression as well!!
While I hadn't thought of this exact scenario, I knew there was always going to be a risk (hence the name). At the end of the day we can't be protected from ourselves so there is implicitly a high level of responsibility on the user to take some care when carrying out these sorts of operations.
Having said that the idea is intriguing, but I can't quite see a strategy for dealing with it at this point

Be nice if:
one could expand the window horizontally. Believe it or not some file names here are longer than will fit without scrolling.
highlighting on selected files could be adjusted on the fly, to match the value in the trim left/right spinners.
there were a 'trim between'.
one could select/copy directly from file names to paste into the 'custom replace' box.
there were an undo.
the tax man knocked on my door tomorrow to hand me a full, cash refund
- I'll have a think about this one - I actually anticipated the question, but i was more concerned with getting it functional before worrying about anything like that
- are you asking for a 'real time' preview here?
- should be doable
- see above
- in my todo list. I need to think about this some more though
- the cheques in the mail...
Good work so far. This is probably one scenario you want to handle:
Files named:
file_01.jpg
file_02.jpg
file_03.jpg
...
If you trim right two places, and keep overwriting, you will end up with a single "file_.jpg" file.
many thanks, that's high praise indeed.
actually, this is pretty cool, not only have I written a file renamer, but it does compression as well!!
While I hadn't thought of this exact scenario, I knew there was always going to be a risk (hence the name). At the end of the day we can't be protected from ourselves so there is implicitly a high level of responsibility on the user to take some care when carrying out these sorts of operations.
Having said that the idea is intriguing, but I can't quite see a strategy for dealing with it at this point














)
)
)