Preface 1 About the PADtalk Reference Guide 1 Chapter Summaries 1 Notation Conventions 3 Chapter One: What's Really Happening? 5 What is PADtalk? 6 What do you use it for? 7 Objects 7 Pad 7 Background 8 Page 8 Field 8 Button 8 Other HyperPAD Objects 8 How to refer to objects 8 Qualifying Objects 8 Object Names 9 Object Numbers 10 Object ID Numbers 11 Ready to script 11 Chapter Two: PADtalk Scripts 13 Constructing Scripts 13 The Script Editor 14 Exiting the Script Editor: 14 Let's Start Scripting: 14 Writing statements in PADtalk 17 Using the Keyboard 18 Editing a Script 19 Search and Replace 20 Printing Scripts 21 Compiling Scripts 21 Compiling with the Debugging Switch 21 The Components of a Script 22 Handlers 22 Defining your own Functions 23 Other Definitions 24 Commands 24
________________________________________________________________________ Constants 24 Miscellaneous Constants 25 Character Constants 25 Property Constants 26 Numeric Constants 26 Literals 27 Functions 28 Properties 28 Containers 28 Chapter Three: The Object Hierarchy 29 Sending Messages 30 Where do messages go? 30 Types of Messages 32 System Messages 32 Messages From Scripts 33 Message Box Messages 33 Messages that look like commands 34 Receiving and Sending Messages 34 The Exit Command 35 The Pass Command 36 Altering the Message Path 37 Where to put your Handlers 39 Chapter Four: Containers 41 Fields 41 Variables 42 Local Variables 43 Global Variables 44 Parameter Variables 44 The Message Box 45 The selectedText 45 Chapter Five: The Current Object 47 The Current Object 47 The Target 48 The Current Executing Object 49 Referencing Current Objects with "this" 49