[proFit-list] getting number of rows of a data window in applescript
Scott Lasley
slasley at space.umd.edu
Fri Jun 3 10:32:17 CDT 2011
This works for me in Snow Leopard with the latest version of proFit
tell application "pro Fit 6.2.4" to get nrRows of window 1
hth,
Scott
On Jun 3, 2011, at 10:48 AM, Dave Sopchak wrote:
> Hi all,
> I'm trying to write a script to get the number of rows in a data window, so I can select the first half. None of the below methods are working for me- nothing seems to be able to return the number of rows in a data window. Any ideas? Thanks.
>
> Dave
> --get index of last row of window 1
> --select last row of window 1
> --get index of selected row of window 1
> --return count of properties of window 1
> --get nrRows of properties of window 1
More information about the proFit-list
mailing list