Friday, July 20, 2018

#1 2003-06-25 10:34:18 am

General
Member
From:: Texas
Registered: 2005-08-08
Posts: 944
Website

return all values in a NSTableView?

how can you use a few repeat with loops to return all the values in a 2 column 10 column NSTableView?

i know how to do the loops, but i cant get the contents of each cell

thanks for any help


General

Offline

 

#2 2003-06-26 08:37:38 am

julifos
Administrator
From:: Malasaña, Madrid
Registered: 2002-11-20
Posts: 2014

Re: return all values in a NSTableView?

It may depend on your table's configuration...

Check these:
/Developer/Examples/AppleScript Studio/Table
&
/Developer/Examples/AppleScript Studio/Table Sort

One of my scripts uses this:

Applescript:

data rows of data source of table view "whatever" of scroll view "whatever" of window "whatever"
repeat with i in result
--> contents of cell 1 of i
end

Offline

 

#3 2003-06-26 06:34:46 pm

General
Member
From:: Texas
Registered: 2005-08-08
Posts: 944
Website

Re: return all values in a NSTableView?

the data source is in Objective C so your script wont work...


General

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)