Download Terminologie d`AppleScript Studio

Transcript
data item
383
set childChildItem to make new data item at end of data items of childItem
set contents of data cell "task" of childChildItem
to "Make it plain and simple"
set contents of data cell "completed" of childChildItem to "Yes"
-- Create second child data item of "Work on outline example"
set childChildItem to make new data item at end of data items
of childItem
set contents of data cell "task" of childChildItem
to "Put it all in a \"launched\" event handler"
set contents of data cell "completed" of childChildItem to "Yes"
-- Create the second child data item of "Things to do"
set childItem to make new data item at end of data items of parentItem
set contents of data cell "task" of childItem
to "Put it in my iDisk when done"
set contents of data cell "completed" of childItem to "No"
-- Assign the data source to the outline view
set data source of outline view "tasks" of scroll view "scroll"
of window "main" to dataSource
end launched
L’illustration 5.3 montre l’application lancée, avec tous les objets data
item développés.
Fig. 5.3 - L’application “To Do list”
Partie V
∼
Data View Suite
Traduction : trad.applescript
23/2/2004