Recently installed the new FileManagerLib.scptd file.
After adding the necessary code to my script-
use AppleScript version “2.4” – Yosemite (10.10) or later
use scripting additions
use PrefLib : script “PrefsLib3”
use FileMgrLib : script “FileManagerLib” version “2.2.1”
ScriptDebugger v7.0.4 will not compile unless I remove the version. Can’t get script “FileManagerLib” whose version ≥ “2.2.1”.
And if I remove the version and save as an app. It will launch and quit without running.
Pasting the code into Script Editor, it will compile, but crash when run- abort() called *** error for object 0x7f950188f800: incorrect checksum for freed object - object was probably modified after being freed.
It runs fine as .scpt or scptd. Something about the app.
I had the exact same problem at work yesterday. I tried a few things, including removing the version number in the script, but got the same issue.
I was having other issues with the mac and restarted it, and the issue went away. I thought maybe what ever was the mac to be slow and unstable was related to the script not compiling.