Utilizando Sistemas de Autoria O ToolBook Roberta Mazzariol Volpe setembro 1997
Copyright by Roberta Mazzariol Volpe 1997 MetáforaMetáfora l Livro l Páginas l Scripts
Copyright by Roberta Mazzariol Volpe 1997 ObjetosObjetos l Propriedades l Comportamentos l scripts = conjunto de handlers
Copyright by Roberta Mazzariol Volpe 1997 Barra de Ferramentas Ferramenta de seleção Botão “push button” Botão “radio button” 3D Botão “radio button” Texto simples sem borda Texto simples Linha Linha “angulada” Texto “combo box” Elipse Retângulo Polígono irregular “Stage” Zoom Botão “check box” Botão “check box”3D Botão “label” Lista de seleção simples “Record field” Torta Polígono regular Retângulo (arredondado) Linha curva Arco Objeto OLE
Copyright by Roberta Mazzariol Volpe 1997 Modos de Execução l Autor l sylevel = author l Leitor l syslevel = reader
Copyright by Roberta Mazzariol Volpe 1997 ConceitosConceitos l Foreground l Um para cada página - exclusivo l Background l Várias páginas l Objetos dispostos em camadas l Grupos l Scripts únicos
Copyright by Roberta Mazzariol Volpe 1997 Paleta de Estilo l Padrões l Espessura de linhas l Número de lados de um polígono l Cores l Tipos de linhas
Copyright by Roberta Mazzariol Volpe 1997 Criando Objetos l Foreground l Background l Propriedades
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Definindo: l Tamanho das páginas l Cor de fundo l Título da tela l Nome da página l Salvando
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Criando um novo background l Criando fields l Criando botões l Autoscript l Atribuindo imagens l Criando record fields
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Inserindo imagens l Past l ImportGraphic l Clip manager (Stage)
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Animações l Script recorder l Path animation l Clip manager (Stage) l Sons l.wav l Clip manager
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Vídeo l Clip manager (Stage) l mmOpen l mmClose l mmPlay (from … to …) l wait l notifyself
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações l Criando hotwords l Saindo do programa l Colocando informações l put l request (with) l Solicitando informações l ask
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Variáveis l Tipo de variáveis l local (default) l system l it l Atribuindo valores a uma variável l set variavel to 20 l put 20 into variavel l variavel = 20
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Operadores l Aritméticos l +, -, *, /, ^, div, mod l Lógicos l and, or, not l is, is not in l, >=, <>, = l String l &, &&
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Trabalhando com Strings l … characters... to … of … l … word... of … l … item … of … l … textline … of … l CRLF
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Estruturas de Controle l If/else l if … is … … else … end if l Step l step … from … to … by … … end step
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Estruturas de Controle l Conditions l conditions when … … when … … else … end conditions
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Estruturas de Controle l While l while … … end while l Do/until l do … until ….
Copyright by Roberta Mazzariol Volpe 1997 Construindo Aplicações Funções l Definição de função l to get nome_funcao parametros l Chamada de função l get nome_funcao parametros