Page 15 of 16

Re: Custom Columns

Posted: 07 Sep 2014 15:08
by admin
This would be a lot of work. What's so bad about "00:00:00" ?

Re: Custom Columns

Posted: 07 Sep 2014 15:26
by Filehero
admin wrote:This would be a lot of work. What's so bad about "00:00:00" ?
It is simply not providing any relevant information; moreover, it somewhat detracts from the focus.

I hope the following example (work in progress) helps making my wish more reproducable.
track_view.png
track_view.png (38.58 KiB) Viewed 2370 times
But maybe it can already be achieved with the CC options available?


Filehero

Re: Custom Columns

Posted: 07 Sep 2014 15:47
by admin
I don't think it's possible now.

Maybe a better way would be to have "Sorting" (Text, Numeric, Date) as an independent parameter in the "Configure Custom Column" dialog. Then you could format the output in a script and let XY sort it as date. But again, a lot of work. No time now.

Re: Custom Columns

Posted: 07 Sep 2014 16:09
by Filehero
admin wrote:I don't think it's possible now.

Maybe a better way ... But again, a lot of work. No time now.
Appreciated.

My current workaround is a FVS with Autosize Columns off and a col width showing just dd.mm.yyyy...
Im Hop-ing wrote:I have a dream...that some day...
:wink:


Cheers,
Filehero

Re: Custom Columns

Posted: 08 Sep 2014 14:18
by TheQwerty
admin wrote:Maybe a better way would be to have "Sorting" (Text, Numeric, Date) as an independent parameter in the "Configure Custom Column" dialog. Then you could format the output in a script and let XY sort it as date. But again, a lot of work. No time now.
My thought on this was add a new field for date format so the user can specify the format pattern - thus allowing them to make it date or time only.

Which seems like it would be about the same amount of work but might be easier for users and documenting.

Re: Custom Columns

Posted: 08 Sep 2014 18:13
by admin
Yes, a little less work, but also less powerful.

When I do CC 2.0 I will look into this again.

Re: Custom Columns

Posted: 09 Sep 2014 10:11
by bdeshi
I've got a different issue regarding CC. Let's discuss in this catchall topic.

I think scripted CustomColumns should not be refreshed if the script doesn't have a return cmd.
Additionally, "Refresh Column" shouldn't refresh click-triggered CCs with no return.
This/these will be a safety net feature.
Please! :(

Here's a basic example: (it IS a legal click-triggered CC!)

Code: Select all

//CC script
 openwith "notepad",, <cc_item>;
If it's used as a click-triggered CC, it's not execed upon every location change. But "Refresh Column" will open all items in notepad windows.
And a slightly illegal case: If it's not click-triggered (though it shouldn't be :whistle: ), "Refresh Column" and Navigation both open notepad, notepad, notepad...

Pleeeease!

Re: Custom Columns

Posted: 09 Sep 2014 10:41
by admin
I see the problem. But, "with no return" ... that's the hard part. That would mean smart evaluation of script code. Tricky.

And, at the moment, I'm far away from CC development and have no time to dive into it. So I cannot decide now what to do.

Re: Custom Columns

Posted: 09 Sep 2014 11:05
by bdeshi
Ah, alright. I can wait. Meanwhile I have to remember not Refreshing certain columns.


A manual workaround may be a checkbox in the CC config: "Disable auto refresh" ,hm?

Re: Custom Columns

Posted: 09 Sep 2014 11:25
by admin
Or maybe "Trigger Column" as additional command for Click-Columns, additional to "Refresh Column" (which would just restore the virgin state)?

Re: Custom Columns

Posted: 09 Sep 2014 11:34
by bdeshi
That's good enough. :)

Re: Custom Columns

Posted: 09 Sep 2014 12:05
by admin
Yes, maybe, needs further thinking. When I do CC 2.0 I will look into this again.

Re: Custom Columns

Posted: 09 Sep 2014 12:11
by bdeshi
Looking forward to that! :D

Re: Custom Columns

Posted: 09 Sep 2014 13:28
by TheQwerty
SammaySarkar wrote:I've got a different issue regarding CC. Let's discuss in this catchall topic.

I think scripted CustomColumns should not be refreshed if the script doesn't have a return cmd.
Additionally, "Refresh Column" shouldn't refresh click-triggered CCs with no return.
This/these will be a safety net feature.
Please! :(

Here's a basic example: (it IS a legal click-triggered CC!)

Code: Select all

//CC script
 openwith "notepad",, <cc_item>;
If it's used as a click-triggered CC, it's not execed upon every location change. But "Refresh Column" will open all items in notepad windows.
And a slightly illegal case: If it's not click-triggered (though it shouldn't be :whistle: ), "Refresh Column" and Navigation both open notepad, notepad, notepad...

Pleeeease!
I was trying to handle a similar case with the Repeatable Click suggestion.

One trick I recently learned is that ending the whole stack ends it for all rows, so if you changed your script to:

Code: Select all

openwith "notepad",, <cc_item>;
end true;
Then it will work correctly when click-triggered and only open one item when calling Refresh Column.

Re: Custom Columns

Posted: 09 Sep 2014 13:56
by bdeshi
And of course, you're the one to discover that.
Thanks for the irritation minimizer!