Using AppleScript with FoxPro for Macintosh

Last reviewed: June 1, 1996
Article ID: Q108094
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: kb3rdparty kbtool kbprg
KBSubcategory:


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 1, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.