Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 07, 2016, 06:20:54 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
Any and all suggestions gratefully received (many thanks, in advance!!)
Not ignoring you... all I can do to get a working connection to DoCo at the moment 

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
that was a general request, nothing pointed, so no foul (apart from the language...)

I'm with you on the connection issue - we used up our monthly hours on the 6th and our ISP basically cut us off cold.  We'd never done this before so we had no idea what was going on (I logged a fault on the phone line!!)

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
a further update - I changed the checkboxes to radio buttons which is a little more intuitive (still no feedback huh...)

also 'fixed' a handful of other bugs and got the MRU menu working (better  :huh:)

there is still a bug with deleting entries from the drop down list (for some reason I can't delete the last entry) and there's an annoying flicker when you add or remove folders (this has something to do with the MRU menu, I'm just not altogether sure what...)

I suspect this is getting perilously close to the point where I toss the whole thing in the bin and start again
(my eyes are actually starting to look like that too, and oh, the twitching...)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
Quote from: target
still no feedback huh...

Sorry!
For my part, I apologize... here, the metaphorical roof fell in and buried me. Still digging out!


There's something happening with rename/undo that I want to explore.
I need to grab a few screen shots in order to explain (once/if I'm sure it's not my own fault -- usually is).

Thanks for the additional work on this.
I can't think of a smarter way to handle the interface.
Be nice if the 'Add' button could remember the last directory.

Sorry about your eyes. Tried goggling for a solution?

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
Okay, here's my situation.

It's all in here
I load a test folder with a few files by using the add button
(keep an eye on the file "Mono,duo,trio").
01.pngIDEA: Find filenames/folders above certain length and offer to rename them


I highlight four that I want to fix, setting parameters in 'Mid' boxes,
hit 'Apply' and they're nicely renamed.
02.pngIDEA: Find filenames/folders above certain length and offer to rename them


Oops, I change my mind... undo.
I don't understand the file-name display in the undo panel.
Follow the rules for stupid users and hit 'All'.
Okay... but what about the slippery "Mono,duo,trio" item?
03.pngIDEA: Find filenames/folders above certain length and offer to rename them


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
a further update where I have resolved the aforementioned problem with deleting from the dropdown (the MRU list now seems to work as intended as well)

flickering is caused by updates to the MRU (seems the menu bar has to be removed before I can update the menu - have to see if I can find a fix to this, or a better way to do it...)

I'll have a play with the undo functionality to see if I can duplicate your issue - you should be able to select an item (or items) and undo, or if you 'select all' it should, well, undo all...  Note that when you undo it should reload the list so the sort will change...

Having just written this it occurs to me that this may have something to do with the delimiters used in storing the list - I've been playing with them in the main window and can't remember if I extended those changes to the undo list...

I've changed the ADD button to default to the last loaded folder (seems to work but not tested rigorously)

again, my feedback comments weren't pointed at anyone so no apologies are necessary - this thread seems to be getting an inordinate amount of reads so I assumed others must also be watching (or is that just your OCD?) who might have something to add/suggest (but apparently not...)

and FYI, eye've goggled myself blind, but haven't seen anything that might help

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
I've changed the ADD button to default to the last loaded folder (seems to work but not tested rigorously)
Thanks, I'll take it for a walk.

Quote from: Target
and FYI, eye've goggled myself blind, but haven't seen anything that might help
These comments are getting cornea!


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
compared to you, I am but a lowly pupil

but I dilate, appreciate your help with this!!
« Last Edit: April 16, 2009, 07:05:39 PM by Target »

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
compared to you, I am but a lowly pupil
Lowly? Don't lie down on the job, fifty eye lashes for you!

Is it me, or is something broken now?
Can't get file names to appear in the list, but they do show in the drop-down...

Load through 'Add' button leaves the list blank, same with drag-drop.

See?
I sight.pngIDEA: Find filenames/folders above certain length and offer to rename them


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
not lying down, I'm flat out (and totally brow beaten...)

from the drop down list it looks like you added a single file (or dropped a bunch of files) - this is something I've never considered and which may go a long way to explaining things.

dropped or added paths are considered paths to search for files, not actual entries.

I've always operated under the assumption that users would be working with folders rather than individual files, which logically fits with the OP.

If you want to use it with loose files I'll have to look at that further...   

and thanks for the feedback (keep it coming!)


cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
dropped or added paths are considered paths to search for files, not actual entries.

I've always operated under the assumption that users would be working with folders rather than individual files, which logically fits with the OP.

If you want to use it with loose files I'll have to look at that further...   

Always operate under the influence, or under the assumption that the patient is an imbecile.
You're right I was being dumb and don't want to affect individual files
Drag/drop folder works... BUT I tried d-d only because pointing to a folder using 'Add' does nothing at the moment (did in previously version).
Also, I see that changing the 'length' spinner isn't modifying the .ini  file.

Quote from: Target
I'm flat out (and totally brow beaten...)
Dare I risk saying take a look before heading in another direction?

[edit: still can't proof read]
« Last Edit: April 16, 2009, 08:27:35 PM by cranioscopical »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
not operating under the influence, but certainly generating effluent...

i always try and work to the lowest common denominator (easy, 'cos it's usually me...)

Quote
...pointing to a folder using 'Add' does nothing at the moment (did in previously version)
again, 'adding' files works fine for me - try clearing the session and if that doesn't work, WIN+F10 to reload the script

Quote
Also, I see that changing the 'length' spinner isn't modifying the .ini file
changing the spinner only filters the list - if you want to change the default go to options in the file menu (or delete your ini file and you'll get a default one, with ...erm... a default of, well, one)

Quote
Dare I risk saying take a look before heading in another direction?

well, you dared, though in hindsight I'm not sure if that was wise or not

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
Still can't get files in using 'Add' button.
I had tried killing off the ini.
Going to try the age-old remedy... reboot  :o

Quote from: Target
changing the spinner only filters the list...
well, you dared, though in hindsight I'm not sure if that was wise or not

He who spins dares (or is that too sassy?)


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
spinners are grinners (or is that groaners?)

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
spinners are grinners (or is that groaners?)
I have a confession, time to grin and bare it...


I recovered the previous version from backup and ran that... same problem with loading files.
Oho! Who's the common denominator here? C'est moi!

Now I realize that, today, I'm trying to load the files from a link/shell object rather than the real folder.
(Don't ask! Don't pursue it!)

So, I put back the latest version but I still get the same renaming anomalies that I showed in the screen shots above.
(BTW, How about putting version number in the title bar from now on, at least for testing purposes?)



cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
FWIW, I have a test folder for playing with this.
Below is a list of the admittedly quirky file names that reside there

Any sense in your creating dummy files with these names to see if you get the same issue there as I have here?

This one
My Music [CJRT 1991.11e.xx] 198x.xx.xx - Mono,duo,trio - Rondo Allegro.mp3
doesn't seem to get 'undone' back to its original name.

I'm using 64 and mid 9,30.

Names
My Music 199x.xx.xx - Symphony No.4 - Brahms.mp3
My Music 199x.xx.xx - The King's Singers.mp3
My Music D03  - On the Water - Schubert and Delius.mp3
My Music [CJRT 1991.11c.xx] 198x.xx.xx - Piano Medley.mp3
My Music [CJRT 1991.11d.xx] 198x.xx.xx - Coffee Cantata - JS Bach.mp3
My Music [CJRT 1991.11e.xx] 198x.xx.xx - Mono,duo,trio - Rondo Allegro.mp3
My Music [CJRT 1992.01a.xx] 198x.xx.xx - Spem in Alium - Thomas Tallis.mp3
My Music [CJRT 1992.01b.xx] 198x.xx.xx - Fidelio - Beethoven.mp3
My Music [CJRT 1995.04a.xx] 198x.xx.xx - Nessun Dorma - Puccini.mp3
My Music [CJRT 1995.04b.xx] 198x.xx.xx - Quartet for the End of Time - Olivier Messiaen.mp3
My Music [KALW 2006.10.06] C16 1982-xx-xx - Crescendo; Barber of Seville - Rossini.mp3
My Music [KWAX-2006.10.14] C17 1982-xx-xx - Suppe Tchaikovsky Pique Dame.mp3
My Music [KWAX-2006.10.21] Cnn 1982-xx-xx - Messaien--Turangalila Symphony.mp3
My Music [KWAX-2006.10.28] Cnn 1982-xx-xx - Elgar - The Music-Makers.mp3


Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
Quote
I have a confession, time to grin and bare it...

AAAAAAAAAAAAAAAAAAAGH, MY EYES, MY EYES!!!!!!!

Quote
So, I put back the latest version but I still get the same renaming anomalies that I showed in the screen shots above.
(BTW, How about putting version number in the title bar from now on, at least for testing purposes?)

simple answer to this one - i haven't had a chance to do anything about this yet (too busy jousting with you at the moment).  I'll try and duplicate your files and see what I come up with

A version number is a good idea, but what version do i start at (0.00.00.00.00.00.00.00.26?)


cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
AAAAAAAAAAAAAAAAAAAGH, MY EYES, MY EYES!!!!!!!
I'm sure they are appealing.


Quote from: Target
I'll try and duplicate your files and see what I come up with
A version number is a good idea, but what version do i start at (0.00.00.00.00.00.00.00.26?)
Thanks
and
Naught's had, all's spent - where our desire is got without content.
-Bill S.

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
Quote
I'm sure they are appealing.
peeling might be closer to the mark...

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
This one
My Music [CJRT 1991.11e.xx] 198x.xx.xx - Mono,duo,trio - Rondo Allegro.mp3
doesn't seem to get 'undone' back to its original name.

the issue is the comma's in the name (still working on a fix...)

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
try this then...

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
try this then...
Very nice. Thanks!
Sorry about the commas, I didn't think of that... it's the way the file arrived here.
I just grabbed a bunch at random for testing purposes and stuck them into a test folder

It would be very helpful if successive runs of MTF could remember the previous folder from which  files were loaded.
At the moment, I run MTF, hit 'Add', and then go down through My Computer - Drive - Dir - SubDir.

I don't see why you can't spend an extra bus trip or two on working to save me 10 seconds  :)

Thanks again!

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
Quote
Sorry about the commas, I didn't think of that... it's the way the file arrived here.
that's called normal use, no need to apologise.

but it leads me to some interesting questions regarding potential delimiters...

Quote
It would be very helpful if successive runs of MTF could remember the previous folder from which  files were loaded.
have you tried the MRU (under the file menu)

Quote
I don't see why you can't spend an extra bus trip or two on working to save me 10 seconds
seems perfectly reasonable to me

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,367
    • View Profile
    • Donate to Member
Quote
It would be very helpful if successive runs of MTF could remember the previous folder from which  files were loaded.
have you tried the MRU (under the file menu)

Quote
I don't see why you can't spend an extra bus trip or two on working to save me 10 seconds
seems perfectly reasonable to me

Yebbut, while that works (here) with successive runs of MTF without closing it, it does not persist from use to use.
So, close MTF, reopen MTF, MTF MRU AWOL.
MT.pngIDEA: Find filenames/folders above certain length and offer to rename them
and
You have a fine grasp of what is important.
« Last Edit: April 20, 2009, 09:44:17 PM by cranioscopical »

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,605
    • View Profile
    • Donate to Member
did you click on the MRU menu option (it doesn't automagically display)

it's working here

MTF_MRU.pngIDEA: Find filenames/folders above certain length and offer to rename them

what's in your ini file (curious to know if the MRU entries are getting saved)
« Last Edit: April 20, 2009, 10:11:08 PM by Target »