Page 1 of 1

XYVariable for Elevated/Admin Rights of XYplorer

Posted: 09 Feb 2025 17:23
by Garonne
Hi Don,

Would it be possible to add an internal variable to access the elevated/admin status of XYplorer (especially for use in the titlebar-template)?
Best case would be, if you could add a format template similat to <prop xx> variables, too.

Re: XYVariable for Elevated/Admin Rights of XYplorer

Posted: 09 Feb 2025 17:25
by highend
<get userrole>...

Re: XYVariable for Elevated/Admin Rights of XYplorer

Posted: 09 Feb 2025 23:14
by Garonne
Ok, didn't realise, userrole was supposed to be this one...

Ok, thanks.

Re: XYVariable for Elevated/Admin Rights of XYplorer

Posted: 18 Mar 2025 16:09
by Garonne
Don, can you add the option to supply my own strings to return for the different roles?

Something like:

Code: Select all

<get userrole| A|||||>
i.e. adding a pipe delimited string (one pipe at start, one at end to support whitespace). I honestly just care for Admin, and don't need it spelled out...

But apparently I can't script in the Title Bar Template...

P.S. don't hurry. It's just a small QoL thing. I don't mind waiting.