tell application "AppleWorks 6"
get properties of every record of document 1
{{class:record, index:2, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47812, visible:false}, {class:record, index:3, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47813, visible:false}, {class:record, index:4, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47814, visible:true}, {class:record, index:5, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47815, visible:true}, {class:record, index:6, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47816, visible:true}, {class:record, index:7, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47817, visible:true}, {class:record, index:8, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47818, visible:true}, {class:record, index:9, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47819, visible:true}, {class:record, index:10, modification date:date "samedi 12 septembre 2009 19:41:41", creation date:date "samedi 12 septembre 2009 19:41:41", id:47820, visible:true}, {class:record, index:11, modification date:date "mercredi 18 mai 1904 1:12:33", creation date:date "dimanche 5 février 2040 12:16:00", id:32768, visible:false}}
end tell
Which is what I must treat with a loop to identify the records whose visible is true.
The second returns a list of records of properties.
… to be continued …
Yvan KOENIG (VALLAURIS, France) mardi 22 septembre 2009 12:25:06