Page 2 of 2

Re: How to refer to selected item?

Posted: 28 Apr 2015 17:26
by Stef123
admin wrote:Try this:

Code: Select all

echo getpathcomponent(<selitem>, "ext");
It's not efficient to add too many variables.
Yes, sure, I am fine with it.
I figured you probably had good reasons for <curext> and even <cursize> - so it seems safer to mirror that, to anticipate issues with whatever reasons there are for the other two. But right now, I don't need it.

Re: How to refer to selected item?

Posted: 28 Apr 2015 17:41
by admin
That's historically explained: <curext> is much older than getpathcomponent.

But you are right. Some symmetry is always nice.