January 11 2007 - 3:56 pm

-192 Error...the Finale

Well, I think this thing is nailed.

For those of you who have not been following along: several users have contacted me about a rare "Could not run this script because the required resources were not found. -192" error. This thing is so rare I have probably only seen it once or twice myself in my years of scripting. Here's the problem: my new "Installer" script that accompanies the latest .dmg download packages does not (currently) correctly copy AppleScript Studio apps. Some downloads use the "ProgBar" app, for example. In some download packages, the "ProgBar" app bundle is not completely copied; only its "Contents" folder is copied to your iTunes Scripts folder. This is totally fixable.

But here's the weird thing: when a folder named "Contents" is in your [username]/Library/iTunes/Scripts folder it somehow inhibits other scripts from running correctly.

What will happen is that when you run a script you will see its Splash Screen. None of the scripts from this site have been saved with this option. When you click the Run button, the -192 error appears.

Remove the "Contents" folder from your iTunes Scripts folder and the scripts will run correctly.

Here's what's weirder: create an empty folder named "Contents" in your iTunes Scripts folder and the same error occurs!

I am now updating the "Installer" script to handle AppleScript Studio apps correctly, and then this problem should disappear. If you are experiencing the -192 error, go to your [username]/Library/iTunes/Scripts folder and remove the folder name "Contents". In a few days, downloads which contain an AppleScript Studio application can be re-downloaded and re-installed correctly.

My sincere thanks to Correspondent Christian who figured out the "Contents" folder weirdness.

Site contents © 2001 - 2020 (that's right: 2001) Doug Adams and weblished by Doug Adams. Contact support AT dougscripts DOT com. About.
All rights reserved. Privacy.
AppleScript, iTunes, iPod, iPad, and iPhone are registered trademarks of Apple Inc. This site has no direct affiliation with Apple, Inc.
The one who says "it cannot be done" should not interrupt the one doing it.