Page 1 of 1

Report by column number, fail.

Posted: 29 Apr 2013 05:06
by sweet40

Code: Select all

text report("{name}", "<curitem>"); // can be 'x:\path\to\item', no matter
woks properly.
but

Code: Select all

text report("{#}", "<curitem>");
doesn't, reporting '1' or '2', sometimes (can't reproduce '2' at will, sorry)

Code: Select all

text report("{#}", "x:\path\to\item");
proves what I'm telling, reporting '1' instead of actual number in list, if it were in list. If this works for items not present on list but parsed as parameters, it should work equally for the '#' column.

Code: Select all

text report("{#}<crlf>");
reports all numbers for items but's a false positive, as it seems it is merely numbering all items from top to bottom instead of reporting '#' column content.

Nice feature, this little report'er guy! :wink:

Re: Report by column number, fail.

Posted: 29 Apr 2013 05:27
by serendipity
Well, not a bug, its meant to be like this for building lists. Actual numbers in the list would be useless (and annoying) in a personal list.
Help for Report() has a section "Remarks" which mentions that # will report number starting from 1.

If you are looking to get the exact item position, use:

Code: Select all

 text get ("focusedpos");
hope that helps.