$sel = TextSelection.active
$i = 1
while Select Previous Paragraph
$i += 1
end
Select Paragraph $i
exit $i
but the paragraph number returned by it differs from the one shown by NW Pro when there is a table and the code is obviously stupid if your purpose is just to "select the paragraph where the insertion point is placed".
Thanks for confirming that there is no way to get the paragraph number in a macro.
I guess that there is likewise no way to get the number of the other objects used by the various Select (object) [i]number[/i] commands. If you can't get the number, I can't see a use for these commands -- but I'm sure someone will.