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: Iurista GmbH <email@hidden>
- Date: Wed, 25 Jan 2012 05:31:27 +0100
Am 24.01.2012 um 22.23 schrieb Stan Cleveland:
> On Jan 24, 2012, at 11:40 AM, 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.
>>
>> Any way to save these?
>> Should I drink the hemlock now?
>
> Hi Eric,
>
> I've seen the same -2741 error on occasion, but only in situations where the script opens, but won't compile. In nearly every case, my problem was with the AppleScript continuation character (¬), ...snip...snip...snip
I use Quickeys to insert some strings into Applescript, amon other things the tell block.
From time to time Applescript refuses then to compile but showing "Expected SOMETHING but found unknown token" highligthing the first or second (") of the tell block Quitting the editor and reopening with an brand new page mostly solved the problem
Rudolf
_______________________________________________
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