Custom Columns
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
This would be a lot of work. What's so bad about "00:00:00" ?
FAQ | XY News RSS | XY X
Re: Custom Columns
It is simply not providing any relevant information; moreover, it somewhat detracts from the focus.admin wrote:This would be a lot of work. What's so bad about "00:00:00" ?
I hope the following example (work in progress) helps making my wish more reproducable. But maybe it can already be achieved with the CC options available?
Filehero
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
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.
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.
FAQ | XY News RSS | XY X
Re: Custom Columns
Appreciated.admin wrote:I don't think it's possible now.
Maybe a better way ... But again, a lot of work. No time now.
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...
Cheers,
Filehero
Re: Custom Columns
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.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.
Which seems like it would be about the same amount of work but might be easier for users and documenting.
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
Yes, a little less work, but also less powerful.
When I do CC 2.0 I will look into this again.
When I do CC 2.0 I will look into this again.
FAQ | XY News RSS | XY X
Re: Custom Columns
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!)
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
), "Refresh Column" and Navigation both open notepad, notepad, notepad...
Pleeeease!
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>;And a slightly illegal case: If it's not click-triggered (though it shouldn't be
Pleeeease!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
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.
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.
FAQ | XY News RSS | XY X
Re: Custom Columns
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?
A manual workaround may be a checkbox in the CC config: "Disable auto refresh" ,hm?
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
Or maybe "Trigger Column" as additional command for Click-Columns, additional to "Refresh Column" (which would just restore the virgin state)?
FAQ | XY News RSS | XY X
Re: Custom Columns
That's good enough. 
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
admin
- Site Admin
- Posts: 65017
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Columns
Yes, maybe, needs further thinking. When I do CC 2.0 I will look into this again.
FAQ | XY News RSS | XY X
Re: Custom Columns
Looking forward to that! 
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Custom Columns
I was trying to handle a similar case with the Repeatable Click suggestion.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!)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.Code: Select all
//CC script openwith "notepad",, <cc_item>;
And a slightly illegal case: If it's not click-triggered (though it shouldn't be), "Refresh Column" and Navigation both open notepad, notepad, notepad...
Pleeeease!
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;Re: Custom Columns
And of course, you're the one to discover that.
Thanks for the irritation minimizer!
Thanks for the irritation minimizer!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club