• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Damaged scripts "Expected expression but found unknown token"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Damaged scripts "Expected expression but found unknown token" (From: Eric Geoffroy <email@hidden>)

  • Prev by Date: Re: scripting the dictionary app
  • Next by Date: repeat while or delay
  • Previous by thread: Re: Damaged scripts "Expected expression but found unknown token"
  • Next by thread: Formatting Text When Responding to a Dialog Box
  • Index(es):
    • Date
    • Thread