Apple Newton Utilities Guida Utente Pagina 668

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 942
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 667
1 2 ... 663 664 665 666 667 668 669 670 671 672 673 ... 941 942

Commenti su questo manuale

Nessun commento