Author Topic: bug of multi-rename extension  (Read 25158 times)

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
bug of multi-rename extension
« on: September 20, 2012, 03:24:05 »
multi-rename is unable to generate filename with some tag.
repro step:
1.in multi-rename ,click < button on the right of filename input box
2.choose plugin and more
3. select extended last modified
4.click insert
5.back in multi-rename.the new filename column should show like "data2012xxxx",that is ,org name followed by file modified date.but currently ,the file name doesn't change.

many of other tags don't also work ,i have try most of date-relate tag,none of them works.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: bug of multi-rename extension
« Reply #1 on: September 21, 2012, 07:02:58 »
This is fixed in the latest beta (build 1190)

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: bug of multi-rename extension
« Reply #2 on: September 21, 2012, 07:35:09 »
yes ,date can be retrieved in 1190.
but date string retrieve is formated to "2012/09/21 13:35:24",this makes file name invalud(because of / and : letter).
still unable to rename with tool.

i can change my system  date format to yyyy-mm-dd and retrieve substring 1 to 10 of date string.but this is too complex.

Jungle

  • Contributor
  • VIP Member
  • *****
  • Posts: 538
  • Old Skull
    • View Profile
Re: bug of multi-rename extension
« Reply #3 on: September 21, 2012, 08:06:40 »
gzycy
You can also enable Substring in 'Plugin and More' dialog and add several patterns to rename template, e.g.

Code: [Select]
[N]_[?ExtendedProp.datemodify,1,4]_[?ExtendedProp.datemodify,6,7]_[?ExtendedProp.datemodify,9,10]
and then save the profile.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: bug of multi-rename extension
« Reply #4 on: September 21, 2012, 08:27:14 »
yes ,date can be retrieved in 1190.
but date string retrieve is formated to "2012/09/21 13:35:24",this makes file name invalud(because of / and : letter).
still unable to rename with tool.

i can change my system  date format to yyyy-mm-dd and retrieve substring 1 to 10 of date string.but this is too complex.
You can use the 'Search and Replace' to the right in the dialog to remove/replace invalid chars.
For example tell it to replace : with nothing will remove all of them, and you can replace / with -

But there is also a new thing.. You can define a date and time format to use in the tag.
[?ExtendedProp.datemodify-{<dateformat>|<timeformat>}]

examples
Code: [Select]
[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss}]
[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss},1,5]

// Only show time , Empty date format.. do not forget the | separator before the time format.
[?ExtendedProp.datemodify-{|HHmmss}]

// Only show date
[?ExtendedProp.datemodify-{yyyy-MM-dd}]

Date Formatting
Time Formatting



gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: bug of multi-rename extension
« Reply #5 on: September 21, 2012, 09:48:12 »
pefect.thank you so much.

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: bug of multi-rename extension
« Reply #6 on: September 21, 2012, 10:01:28 »
another little issue
in preview versions ,right click on file icon or file name in file list both show context (i config it to).
but in 1190 ,only on icon do.right click on file name nothing happend.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: bug of multi-rename extension
« Reply #7 on: September 21, 2012, 10:23:44 »
another little issue
in preview versions ,right click on file icon or file name in file list both show context (i config it to).
but in 1190 ,only on icon do.right click on file name nothing happend.
I change a bit how some of the mouse actions works. So their might be some bugs their..

I don't really understand how you configured the right click thing.
Can you take a screenshot of the Mouse configuration page and show me. Then I might be able to recreate the issue.

( edit : I found the Issue.  )
« Last Edit: September 21, 2012, 10:34:28 by Mathias (Author) »

gzycy

  • Junior Member
  • **
  • Posts: 24
    • View Profile
Re: bug of multi-rename extension
« Reply #8 on: September 24, 2012, 03:20:39 »
ok in 1193.
thx

Kietna Qu'Tak

  • Junior Member
  • **
  • Posts: 12
    • View Profile
Re: bug of multi-rename extension
« Reply #9 on: October 24, 2012, 14:25:50 »
Thanks god I found this. At the beginning I was afraid that I need to change some scripts to generate date in a different format (all dates does not have separator between date and time). I'm suggesting to add an user interface that will help to create custom date format. For example form the dropdown menu, where we could select current year/month/day we could select the same for date created and modify.

But there is also a new thing.. You can define a date and time format to use in the tag.
[?ExtendedProp.datemodify-{<dateformat>|<timeformat>}]
examples
Code: [Select]
[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss}]
[?ExtendedProp.datemodify-{yyyy-MM-dd|HHmmss},1,5]

// Only show time , Empty date format.. do not forget the | separator before the time format.
[?ExtendedProp.datemodify-{|HHmmss}]

// Only show date
[?ExtendedProp.datemodify-{yyyy-MM-dd}]

Date Formatting
Time Formatting
>>>d(^_^)b<<<