Article ID: 152280 - Last Review: December 15, 1999 - Revision: 1.1 How To Call a Visual FoxPro Application Using AppleScriptThis article was previously published under Q152280 SUMMARY
Since Visual FoxPro for Macintosh does not create stand-alone executables
as FoxPro 2.6 did, AppleScript will not be able to directly call the
executable with the TELL statement. This behavior occurs because the
executable will require the use of one of the Visual FoxPro Support Library
files to run. AppleScript will have to TELL the Visual FoxPro Support
Library.
MORE INFORMATION
The sample AppleScript below will TELL the Visual FoxPro Support Library to
open a Visual FoxPro executable named "MyProgram.exe" that is located in
the MyApps folder on the Macintosh HD, activate it, and then have it
display a Wait Window containing the text "Hello World!":
The main program of the MyProgram.Exe file should contain code similar to the following: Applescript is manufactured by Apple Inc., a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability. | Article Translations
|
Back to the top
