getting baseline position of selected text in quark

Hi,

Is there any way to get the baseline position of selected text from top trim? If so please provide me some applescript coding for this.

Thanks,
Krishnan