How to Return Values to AppleScript from FoxProID: Q149107 3.00b MACINTOSH kbinterop kbhowto The information in this article applies to:
SUMMARYIt is possible to use AppleScript to run a Visual FoxPro program and return a value to AppleScript.
MORE INFORMATIONIn the following example, the AppleScript portion asks the user for a Customer ID and then calls a Visual FoxPro program. The Visual FoxPro program then opens a database, sums the order amounts for the Customer ID that was entered, and returns the sum to the script. Then the script displays the result in a dialog box. 1. Save the following FoxPro program file as MyQuery.prg in the Visual 2. Use the AppleScript Script Editor to save and run the following script.
Additional reference words: 3.00b VFoxMac
KBCategory: kbinterop kbhowto
KBSubcategory: FxinteropDde
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |