Apple Newton Utilities Guide de l'utilisateur Page 668

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 667
CHAPTER 18
Intelligent Assistant
18-22 Summary
// Optional. View template that defines task slip
taskslip : myTaskSlipView,
// internal use only - always put nil in this slot
score: nil,
// your additional slots and methods
…}
Action Template 18
// defines action words to Assistant
my_act := {
// string may be replaced in lexical parse
value: string , //Required.
// object type that this template creates
// must use this value or one descended from it
isa: 'dyna_user_action, // Required.
// Words or phrases to match with this template
lexicon: [string1, string2,…stringN],// Required.
}
Target Template 18
// defines object of an action to Assistant
my_Target := {
// string may be replaced in lexical parse
value: string , //Required.
// object type that this template creates
// must use this value or one descended from it
isa: 'dyna_user_obj, // Required.
// Words or phrases to match with this template
lexicon: [string1, string2,…stringN],// Required.
// your template can include your own slots as well
…}
Developer-Supplied Task Template 18
You must always supply a task template, which denes the application behavior
made available through the Assistant.
Vue de la page 667
1 2 ... 663 664 665 666 667 668 669 670 671 672 673 ... 941 942

Commentaires sur ces manuels

Pas de commentaire