Status bar codes: Support in columns?

Some time ago, I've been looking into status bar codes (bulb, arrowu, error, chackbox, fdbi, oned, etc..). It'd be awesome if these would be officially supported in columns :slight_smile:

Is this about status bar codes, or some other type of markup / icons / etc.?

(Most of those don't look like status bar codes to me, and most status bar codes wouldn't make sense in columns, as far as I can think.)

I think columns can already use markup, but they have to say they want it to avoid misinterpreting other data that isn't meant to be markup.

This is mostly about the icons, though I'd love to use markup in columns. I tried using the statusbar codes in columns but it didn't work. How do I get a column to use an icon?

If they're the ones I think you mean, those icons are done through markup. They don't really have anything to do with the status bar (other than that they can be used on it as well as other places).

Having to guess a bit here, without concrete examples of what you want to do.

Support for markup in script columns was added in Directory Opus 13.11.1 (Beta) - see the Scripting part of that for the details, and make sure you have the latest beta installed (at least until 13.12 is out, which will add the new functionality to a stable release).

A concrete example would be to display an icon in a column using

scriptColData.columns("TEST").value = "<%tbim:rename>";

or, in the case of an evaluator column:

return ("<%tbim:rename>");

The change in the beta Leo refers to lets scripts provide markup text as column data for display in infotips. Currently column data displayed in the Lister itself doesn't support markup.

This will be possible in the next update.

4 Likes

Awesome, thanks!

Sounds interesting. Once the new beta is out, could you give me an example of that new feature?

Basically, the codes you've already seen on over at Button/Menu label, description, tags and sequences can be used in columns now. In case of an evaluator column, check "Support markup" and have it show something like

return "<#ffffff><b>" + name + "<kbd>" + name + "</kbd> <%error> <%bulb:3>"

I did find a bunch more codes that can be used (any hex editor will help here) but since everything is basically unsupported/undocumented AFAIK, I would prefer GPSoftware themselves to publish further information on this.

Thanks, but i still have no slightest idea what that code would do, where it would appear and how to make it or display an evaluator column :thinking:. Can it, for example, be used to show me, if a specified folder has items in it or if it's empty, from the status bar? Because that would be an interesting use case for me.

Here you go:

XML
<?xml version="1.0"?>
<evalcolumn align="2" attrrefresh="no" autorefresh="no" customgrouping="no" foldertype="all" keyword="demomarkup" maxstars="5" namerefresh="no" nocache="no" reversesort="no" supportmarkup="yes" title="demomarkup" type="0">operation == &quot;markup&quot; ? &quot;&lt;#00ff00&gt;&lt;b&gt;&quot; + name + &quot;&lt;/b&gt; &lt;kbd&gt;&quot; + name + &quot;&lt;/kbd&gt; &lt;%error&gt; &lt;%bulb:3&gt;&quot; : name</evalcolumn>

Hmm. So it repeats the name from the name column twice in different styles, and maybe adds some status icons? Maybe someone would care to make a tutorial video about the evaluator columns? I'm sure it's an awesome function, once you know, what it can do.