[proFit-list] getting number of rows of a data window in applescript
Dave Sopchak
dsopchak at enervault.com
Fri Jun 3 10:38:54 CDT 2011
Far out!
Apparently, I was trying too hard.
Thanks, Scott.
Dave
On Jun 3, 2011, at 8:32 AM, Scott Lasley wrote:
> 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
>
>
> _______________________________________________
> proFit-list mailing list
> proFit-list at quantum-soft.com
> http://quantum-soft.com/mailman/listinfo/profit-list_quantum-soft.com
More information about the proFit-list
mailing list