Pages

6 juil. 2008

DataBase (3/5)

on newCard()
set item1 to text returned of (display dialog "Auteur :" default answer "" with icon 1)
set item2 to text returned of (display dialog "Titre :" default answer "" with icon 1)
set item3 to text returned of (display dialog "Sujet :" default answer "" with icon 1)
set item4 to text returned of (display dialog "Edition :" default answer "" with icon 1)
set item5 to "Auteur" -- tri par defaut
set the end of allCards to createCard(item1, item2, item3, item4, item5)
end newCard

>>Ouvrir le script dans l'éditeur

Aucun commentaire: