Script Info

Name: Insert Text
Author: Five Speed Software, Inc.
This script shows how to use the new (as of version 1.5) DashBoardInsertText scripting command, to insert text into virtually any Newton app, including Notes and Works. This script requires Dash Board 1.5.
Last Modified: Tuesday, March 2, 1999
Download: The example scripts are now included as part of every Dash Board download.

This example script is copyright © 1998, 1999 by the author listed above, and may be freely used, modified, and distributed, provided that it is distributed free of charge.

Script Code

// first we set the text we want to insert.
// you can make multiple copies of this script,
// and change only the first line of code, in
// order to make many useful text macros.

local myText := "Replace this text with something useful, such as your address.";



This very simple script shows how easy it is to create text-insertion scripts with Dash Board, that work in Works, as well as standard newton text views. We recommend creating a submenu called "Insert Text" in your Newton Menu, and adding all your frequently used text insertion scripts to it. That way, it is quick and easy to insert frequently used text in whatever program you happen to be using.


Contents copyright © 1997-2004, Five Speed Software, Inc.