AppleWorks User Group

2005.07.04 

 

http://www.barefeetware.com/awug/

Welcome

 

Welcome to AWUG (AppleWorks User Group) members. This page has been set up by BareFeetWare specially for you. In particular, it provides quick access to the resources needed for the AWUG Journal articles on automating AppleWorks.

Stuffit

 

Some of the articles below include finished scripts that you can download. To decompress the downloaded file, you need Stuffit Expander, available for free.

     


Please do not provide the URL of this page to non AWUG members. They would be better served by browsing the links on our general AppleWorks page and running through our on-line AppleScript tutorial.

If you have a question relating to this page, you are welcome to email us. You can also check our on-line AppleWorks resources and the information below.

March 2005 - Enhancement Pack Special
The March 2005 issue of the AppleWorks Journal features an article on various methods to convert records in a database to Title Caps. BareFeetWare’s Enhancement Pack for AppleWorks has a Database Replace command, used to accomplish this.

The special buy price for the Enhancment Pack for AppleWorks expired on June 1. But you can still purchase from our registration page.

17. April 2001 - Underline Words
AppleWorks provides “Underline”, “Bold”, “Italic” and other text style formatting controls. When formatting a sentence or heading as bold or italic, any spaces appear the same. However, an underlined space is distinctly different to a plain space, appearing as a horizontal line. Furthermore, commas, periods and other punctuation is often obscured by an underline. So, one reader requested the ability to underline only the words in the selection, to avoid the need to manually select and format one word at a time. The result is shown in Figure 1.



16. March 2001 - Labeling Dimensions on Graphic Objects
One of the features missing from AppleWorks’ drawing environment is the ability to label the dimensions of graphic objects. This article describes how to add a menu command to AppleWorks that labels the height and width of graphic objects. Labeled dimensions are especially useful for computer aided design, for drawing house plans and for other technical drawings.



You can download the Label Dimensions script, which includes the code to run on AppleWorks 5 and AppleWorks 6. A more advanced version of this script is included in BareFeetWare’s Enhancement Pack for AppleWorks (version 1.3 and later).


15. February - Repeat Loops
A script can cycle through a list or series of objects, applying changes or testing each one. Now we get to the good stuff.

14. January 2001 - Reference Forms – Satisfying a Test
This is the third of three articles that will teach you how to use more powerful reference forms in your scripts.

In the same issue, please ignore the answer to the letter to the editor, entitled “Creating new documents with AppleScript”. The convoluted 14 line answer from Apple is unnecessary and does not answer the question. Despite our best efforts over several years, Apple regurgitates this answer. The simple correct answer is the script command:

make new document at front

13. December - Reference Forms – Plural and the Dictionary
This is the second of three articles that will teach you how to use more powerful reference forms in your scripts. Now you will move on to plural reference forms to access a series of elements in just one statement.

12. November - Reference Forms of a Single Element
This is the first of three articles that will teach you how to use more powerful reference forms in your scripts.

11. October - Lists
As well as an individual number, string of text, or other class of object, AppleScript can deal with a list of such objects, which makes it practical to batch process objects in AppleWorks.

10. August/September - If/Then - Making Decisions
Scripts can make decisions and act differently depending on the circumstances.

09. June/July - True or False
As a digital device, the computer makes decisions based on questions that have a “true” or “false” answer. The outcome can also be thought of as yes/no, on/off or one/zero. True and false are Boolean values. AppleWorks’ AppleScript dictionary is loaded with decision “switches” that a script can set, get or use when making complex decisions.

08. May - AppleWorks 5 vs 6 (Special Report)
AppleWorks 6 fixes many of the bugs that made scripting AppleWorks 5 very frustrating and has thus far limited the sample scripts in this series. Here we review the changes and see how easily AppleScript is supposed to work.

See our updated problems page for a list of AppleWorks scripting bugs and work arounds for AppleWorks 5 through 6.0.3.

07. April - Results and Variables
The scripts you’ve written so far have been static; each script always produced the same result. This month you will learn how to use variables to automatically adapt scripts to their environment.

Check back here soon for supplementary information.

06. March - Script Editor
This article introduces some of the tools available to help you write, document and monitor your scripts. As this series moves into longer and more complex scripts, you will use these tools as you create and “debug” your code.

    1. This article focuses on Apple’s Script Editor, but other script editors are available.
    2. If you are interested in the scripts that BareFeetWare wrote during the new year break for AppleWorks 6, see the Enhancement Pack for AppleWorks 6.

05. February - Inheritance
This article explains how some classes (like arc and oval) inherit properties (such as bounds, pen color) from another class (such as graphic object).

    1. If you have difficulty typing and drawing, you can download completed exercises.
    2. Script Debugger and other script editors are discussed in our editor comparison, including links to demo downloads.

04. January 2000 - Tell Statements
The January AppleScript article explains how to use Tell statements to simplify otherwise long winded lines of code.

    1. Please send us your comments so we know whether this series is useful to you, or how it can be improved.

03. December - Dictionary: Events
Here is some information relating to the AppleScript article in the December issue of the AppleWorks Journal:

    1. If you have trouble writing the scripts in the exercises, then you can download the finished scripts.
    2. Some other sample scripts are available.
    3. Some events are listed in the dictionary with a parameter of class "reference", which does not let you know which classes it actually supports. We have started an event matrix that shows the actual classes supported.

02. November - Dictionary: Classes
Here is some information relating to the AppleScript article in the November issue of the AppleWorks Journal:

    1. Please send us your comments so we know whether this series is useful to you, or how it can be improved.
    2. Several script editors were mentioned in the article. A comparison of them, opinions and links to download demos is available on our AppleScript editors page.
    3. As later articles will show, some of the AppleWorks dictionary is not fully implemented in AppleWorks 5. So we started a list of properties that fail. There are some particular bugs or "holes" in AppleWorks support of AppleScript.

01. October - Using Scripts
For a more up to date version of this tutorial (including AppleWorks 6 and more recent scripts) see the first two lessons in our on-line AppleScript Tutorial.

You can download the scripts for tutorial 1 (Small Caps, Linear Regression, sample spreadsheet and Auto Save) used in the October AWUG Journal article. You will need Stuffit Expander 5 or later to unstuff the archives.

Note that later versions of the Linear Regression and Small Caps scripts are available, though possibly not matched to the exercises in this tutorial.

Information about other scripts can be found on our AppleWorks scripts page.

Addendum
The first sentence in the article should more accurately start with:

AppleWorks cannot color negative cells red, auto-save modified documents...

For best results with the Small Caps script, type some words (ie separated by a space), rather than a continuous line of text.

Contact
Please don't hesitate to contact us if you have any questions.

© 1999 - 2005 BareFeetWare


Please email us any queries about this page.