Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: gzycy on September 20, 2012, 03:24:05

Title: bug of multi-rename extension
Post by: gzycy 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.
Title: Re: bug of multi-rename extension
Post by: Mathias (Author) on September 21, 2012, 07:02:58
This is fixed in the latest beta (build 1190)
Title: Re: bug of multi-rename extension
Post by: gzycy 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.
Title: Re: bug of multi-rename extension
Post by: Jungle 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.
Title: Re: bug of multi-rename extension
Post by: Mathias (Author) 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 (http://msdn.microsoft.com/en-us/library/windows/desktop/dd317787(v=vs.85).aspx)
Time Formatting (http://msdn.microsoft.com/en-us/library/windows/desktop/dd318148(v=vs.85).aspx)


Title: Re: bug of multi-rename extension
Post by: gzycy on September 21, 2012, 09:48:12
pefect.thank you so much.
Title: Re: bug of multi-rename extension
Post by: gzycy 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.
Title: Re: bug of multi-rename extension
Post by: Mathias (Author) 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.  )
Title: Re: bug of multi-rename extension
Post by: gzycy on September 24, 2012, 03:20:39
ok in 1193.
thx
Title: Re: bug of multi-rename extension
Post by: Kietna Qu'Tak 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 (http://msdn.microsoft.com/en-us/library/windows/desktop/dd317787(v=vs.85).aspx)
Time Formatting (http://msdn.microsoft.com/en-us/library/windows/desktop/dd318148(v=vs.85).aspx)