MacScript function
Summary
(Mac only, deprecated) Executes an AppleScript script from within VBA and returns the result.
Syntax
MacScript(script)
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.