Re: Damaged scripts "Expected expression but found unknown token"
Re: Damaged scripts "Expected expression but found unknown token"
- Subject: Re: Damaged scripts "Expected expression but found unknown token"
- From: Christopher Stone <email@hidden>
- Date: Thu, 26 Jan 2012 04:36:46 -0600
On Jan 24, 2012, at 13:40, Eric Geoffroy wrote:
> Just recovered from catastrophic hd failure. I used Time Machine to restore files. There are several scripts however that no longer open. The error message is - "Expected expression but found unknown token".
>
> I'm unable to open them in the current Script Debugger or Script Editor. I also tried the Recover Script feature in Script Debugger but the damaged scripts are greyed out.
______________________________________________________________________
Hey Eric,
That's a bummer, but at least you had a backup.
Try from the Terminal:
osadecompile /posix/path/to/your/script
If it's saved as a bundle you may have to tunnel into it to find the script itself.
--
Best Regards,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden