NOTE: Same script worked in earlier versions of OS (Mojave,high Sierra,etc). Seeing this problem only in Catalina
I need to use Foundation framework for making some objc related calls in scripts. After I add this line loading script files and throws below error
Can’t make current application into type file.
After removing use framework “Foundation”, it works fine
use AppleScript version "2.4" -- Yosemite (10.10) or later use scripting additions use framework "Foundation" set Lib to load script POSIX file "/Library/Application Support/iManage/script/Utilities.scpt"
Should I use different way to load script when using foundation framework.
Any help much appreciated