Applescripts damaged

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

Post Reply
calion
Student Driver
Posts: 16
Joined: Sat Mar 21, 2009 7:20 pm

Applescripts damaged

Post by calion »

When trying to open the "Delete Prefs File" or "Zap PRAM" scripts, I receive
“Delete Prefs File” is damaged and can’t be opened. You should move it to the Trash.
This is from a fresh download of SheepShaver.

OS X 10.10.1
User avatar
adespoton
Forum All-Star
Posts: 3308
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Applescripts damaged

Post by adespoton »

Are these still PPC scripts? They'll need to be opened in Script Editor and re-saved in order to function if they are.
calion
Student Driver
Posts: 16
Joined: Sat Mar 21, 2009 7:20 pm

Re: Applescripts damaged

Post by calion »

I don't know. When I drag them to Script Editor I get the same error message.
emendelson
Forum All-Star
Posts: 1265
Joined: Tue Oct 14, 2008 12:12 am

Re: Applescripts damaged

Post by emendelson »

In System Preferences, Security & Privacy, General, allow apps downloaded from Anywhere. Run the scripts once. Then change the setting that you changed so that it's back to what it was before.
User avatar
adespoton
Forum All-Star
Posts: 3308
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Applescripts damaged

Post by adespoton »

You can also right/control click the script and select "Open" -- and then approve it for running. Saves having to temporarily disable security settings.
calion
Student Driver
Posts: 16
Joined: Sat Mar 21, 2009 7:20 pm

Re: Applescripts damaged

Post by calion »

Tried that. Same message.
User avatar
Ronald P. Regensburg
Expert User
Posts: 6667
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Applescripts damaged

Post by Ronald P. Regensburg »

The scripts should run fine in 10.10.1. Only the first time you run them you will need the 'open from contextual menu' trick because the scripts are not code signed. (The same for SheepShaver.app itself, btw.)

From which SheepShaver download did you get the scripts? Which unarchive application did you use to decompress the .zip archive?

The commands that are used in the scripts can also be used in Terminal:
For "Delete Prefs File": rm ~/.sheepshaver_prefs
For "Zap PRAM": rm ~/.sheepshaver_nvram
Post Reply