DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: IDEA: Find filenames/folders above certain length and offer to rename them  (Read 141,852 times)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
did you click on the MRU menu option (it doesn't automagically display)

it's working here
(see attachment in previous post)
what's in your ini file (curious to know if the MRU entries are getting saved)

Yes, I did click the MRU menu option. Nothing occurs -- no sub-menu.
Here's the quirky bit, in the .ini file the [MRU] section is nicely populated (MRU1 through MRU9) with the file name of the last directory opened!
So,
Deleted the .ini
Ran MTF
Opened folder.
Closed MTF
Opened .ini
Confirmed folder appears in ini MRU list -- it does
Closed .ini
Ran MTF
Clicked File/MRU
No sub-menu
??

Clearly it's me if it's working for you.  What have I missed?
Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Quote
Clearly it's me...

clearly...

to be honest I have no idea what your problem might be (hehehe) - try deleting all your current verions and running the attached and see what happens (at least we'll be sure to be running the same versions)
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler
« Last Edit: April 22, 2009, 04:21 AM by Target »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Quote
Clearly it's me...

clearly...

to be honest I have no idea what your problem might be (hehehe) - try deleting all your current verions and running the attached and see what happens (at least we'll be sure to be running the same versions)

Did that. Works now. Well done!
Odd, because the version I was using was the most recent previous one (that fixed the comma-in-name issue).

Well now how am I going to find a way to torment you?

:Thmbsup:

Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Quote
Well now how am I going to find a way to torment you?

I'm sure you'll come up with something (your challenge, should you choose to except it...)

and if no one's got anything else on the the current incarnation (anyone?) I might try my hand at a version with a preview of the changes...

Lanux - i can't duplicate your issue with the options dialog box.  I tried several different resolutions but they all displayed fine (if you're still listening, are you still having this issue??)
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Quote
Well now how am I going to find a way to torment you?

I'm sure you'll come up with something (your challenge, should you choose to except it...)
Leave it out, mate, that's impossible!

Quote from: Target
I might try my hand at a version with a preview of the changes...
Icing on the cake would be some form of live highlighting that responds to the spinner,
such that the effect of setting mid values would be visible in the display.
[attachthumb]
Chris

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Lanux - i can't duplicate your issue with the options dialog box.  I tried several different resolutions but they all displayed fine (if you're still listening, are you still having this issue??)

don't worry, i'm still listening. it's a bit better now. see for yourself.. also nice work on the MRU.. :up:

NowBefore
[attach=#]

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Icing on the cake would be some form of live highlighting that responds to the spinner,
such that the effect of setting mid values would be visible in the display. (see attachment in previous post)

not sure how if that is even possible, but I'll have a look - I was actually thinking more along the lines of this

[attachthumb=#]

changes would be displayed in real time, but not applied until you actually APPLY them

don't worry, i'm still listening. it's a bit better now. see for yourself.. also nice work on the MRU.. :up:

i can make the dialog a little taller if you'd like

and just out of curiosity, has this been of any use to you?
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Icing on the cake would be some form of live highlighting that responds to the spinner
not sure how if that is even possible, but I'll have a look -
It's not worth more than three or four bus trips.
My problem is that I find it a bit difficult to count characters on the screen but that's for me to solve if the coding is a swine to do.

Quote from: Target
I was actually thinking more along the lines of this
(see attachment in previous post)
changes would be displayed in real time, but not applied until you actually APPLY them
The live preview thing looks spiffy.

Quote from: Target
and just out of curiosity, has this been of any use to you?
Not addressed to me, but heck no! For my part I was simply stringing you along to see how far you'd take it :)

Kidding aside, this is a very nice tool and I certainly do appreciate the effort that's gone into it.
I still burn stuff to CDs for use in one of our cars and file names can be a problem there.
MTF will be very useful.
Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Quote
Not addressed to me, but heck no! For my part I was simply stringing you along to see how far you'd take it :)

I figured as much

Quote
MTF will be very useful.

glad to hear it - I was really just curious, 'cos I probably won't (I generally change my settings to allow writing of  r e a l l y  l o n g  n a m e s  (joliet?))
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Quote from: lanux128 on Today at 06:53:38 AM
don't worry, i'm still listening. it's a bit better now. see for yourself.. also nice work on the MRU.. thumbs up

i can make the dialog a little taller if you'd like

and just out of curiosity, has this been of any use to you?

i've been a very interested observer but i haven't used it as much i would like to.. :(

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
a
i've been a very interested observer but i haven't used it as much i would like to.. :(

not a problem, just curious as you did say Skwire's solution fulfilled your requirements... 
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
I generally change my settings to allow writing of  r e a l l y  l o n g  n a m e s  (joliet?)
Oh, the cr*p you let onto your system!
It's time for a better scheme than that.
Wherefore art thou, Romeo?
Chris

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Quote
Wherefore art thou, Romeo?

check the coding snacks forum...
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

dcwul62

  • Supporting Member
  • Joined in 2013
  • **
  • Posts: 336

Hello - I know I am responding to an old thread (hopefully someone will read this)

Question about this software:
1)
right now it cuts by nnn characters
is it possible to make it cut back TO nnn characters instead?

For example, I want the total length of all - folder/paths etc. to be 180 characters, so whatever the length,
when cutting back length should remain 180 characters)
(a bit similar to CutLongNames.exe)

2) when cutting back a list of files, it should add a digit to avoid duplicate errors
so
files that have been cut back, should then read
longfilenamescutbackto180char_01.jpg
longfilenamescutbackto180char_02.jpg
longfilenamescutbackto180char_03.jpg

3)
is it possible to make this as a plug-in for Directory Opus (or work as a toolbar button)

4)
is it possible to add this to shell:sendto context menu.
meaning:
I would select a number of files, then select context menu "Maim The File" - and 'send' the files to Main The File so they are then cut back as per settings saved in Maim The File.

(Maim - what does this stand for?)

=

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Quote
right now it cuts by nnn characters
is it possible to make it cut back TO nnn characters instead?

should be possible, though there is a likelyhood that you'll end up with nonsense filenames.  And what do we do where the path is the offending portion of the string (eg path lengths of 175+ characters)? 

Quote
is it possible to make this as a plug-in for Directory Opus (or work as a toolbar button)

I don't use dopus so I can't help with this, but plenty here do so someone else may be able to advise

Quote
is it possible to add this to shell:sendto context menu.
meaning:
I would select a number of files, then select context menu "Maim The File" - and 'send' the files to Main The File so they are then cut back as per settings saved in Maim The File.

possibly... it could certainly be added to the context menu, but what you're asking for is more of a batch operation which is something I'll have to look into...

Quote
(Maim - what does this stand for?)

to maim is to injure such that a permanent disfigurement results.  It was a play on words given the potential for damage when renaming files
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

Original address: https://www.donationcoder.com/forum/index.php?topic=17371.0