I'm facing a problem on Mac 2016 Powerpoint. In my VBA module I need to run an applescript. As we cannot use MacScript anymore I followed RonDeBruin's explanation to use AppleScriptTask. My Applescript is working fine on his own but when I try to call it like this :
AppleScriptTask("hello.scpt", "myhandler", "hello")
With in my apple script
on myhandler(paramString)
say paramString
End myhandler
It gives me an error 5 - Invalid procedure call or argument
my script is placed in Library/Application Scripts/com.microsoft.Powerpoint is this path alright?
Thank you for your help