Thursday, September 20, 2018

#1 2003-03-26 12:14:15 pm

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

Adding Information to an NSTableView

I have:

Applescript:

tell table column "C" of table view "view" of window "diskwin"
       set the contents of the cell to "text"
end tell

but it wont work :cry:


General

Offline

 

#2 2003-03-26 03:13:38 pm

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

Re: Adding Information to an NSTableView

Not a light work!

Perhaps you may take a look to the sample called "Table" at /Developer/Examples/AppleScript Studio/Table/...

The way on how you invoke a cell may depend on if you're working with a data source or not, the structure of your project and so on... The syntax could be anything such as:

Applescript:

set contents of data cell "name" of data row x of data source of table view y of scroll view z of window alpha to "whatever"

But this implies you've defined a data source for such table view...

roll

Offline

 

#3 2003-03-27 04:55:51 pm

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

Re: Adding Information to an NSTableView

nevermind, i figured it out myself... I was looking at that table example you mentioned for months now, but i only just bothered to look at the one that said "WithoutdataSource"

wink


General

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)