# Using AppleScript with FoxPro for Macintosh

ID: Q108094

2.50b 3.00b MACINTOSH

     kbtool kbprg

The information in this article applies to:

- Microsoft FoxPro for Macintosh, version 2.5b
- Microsoft Visual FoxPro for Macintosh, version 3.0b

## SUMMARY

According to the AppleScript Developer's Toolkit, three levels of AppleScript-aware applications exist. These types are scriptable, recordable, and attachable. FoxPro for Macintosh is a scriptable application.

## MORE INFORMATION

A scriptable application understands one or more AppleScript commands. FoxPro for Macintosh understands the core/required Apple events: open application, open document, print document, and quit application. FoxPro for Macintosh responds to the corresponding AppleScript commands run, open, print, and quit.

A scriptable application can also be recordable. Every action performed in a recordable application can be translated into an AppleScript command and can be automatically transcribed to an AppleScript script. The Scriptable Text Editor, included with AppleScript, is an example of a recordable application.

Some scriptable applications are also attachable. An attachable application has an open architecture in which scripts can be attached to various objects in the application. Application objects include menu items and push buttons. A specific event such as clicking a button or choosing a menu item triggers the scripts attached to the object.

For more information about AppleScript, including the different types of AppleScript-aware applications, see the "AppleScript Developer's Kit" from Apple Computer.

NOTE: AppleScript is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

Additional reference words: VFoxMac 3.00b FoxMac 2.50b KBCategory: kbtool kbprg KBSubcategory:

    Keywords          : kb3rdparty kbprg kbtool
    Version           : 2.50b 3.00b
    Platform          : MACINTOSH

Last Reviewed: May 12, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use.