- Outside Filemaker: My script which includes these lines runs fine:
use framework "Foundation"
use scripting additions
set theList to current application's NSEvent's mouseLocation()
- Within Filemaker (Native Applescript): I get this error message:
"FileMaker Pro Advanced got an error: NSEvent doesn’t understand the “mouseLocation” message."
My workaround for the moment is to have Filemaker tell Finder to open the app and it runs. But I don't want to do that. Means I have to keep an external AS. I want to contain it in FM.
Does anyone know a fix for this?
Thanks much in advance.