Table of contents
Collapse the table of content
Expand the table of content

MacScript Function

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Note This function has been deprecated, therefore it is no longer supported. For information, see this Stack Overflow article.

Executes an AppleScript script and returns a value returned by the script, if any. SyntaxMacScriptscript The script argument is a String expression. The String expression either can be a series of AppleScript commands or can specify the name of an AppleScript script or a script file. Remarks Multiline scripts can be created by embedding carriage-return characters ( Chr( 13 ) ).

ThePath$ = Macscript("ChooseFile")
© 2017 Microsoft