Re: silly errors
Re: silly errors
- Subject: Re: silly errors
- From: Jean-Christophe Helary <email@hidden>
- Date: Thu, 03 Dec 2015 13:16:52 +0900
Sorry I did not take the time to reply yesterday. Thank you very much for the hint.
Jean-Christophe
> On Dec 2, 2015, at 08:15, Shane Stanley <email@hidden> wrote:
>
> On 2 Dec 2015, at 9:53 AM, Jean-Christophe Helary <email@hidden> wrote:
>>
>> I found that I was getting a silly error on a read command. The file was there, there was text in it, but read kept give me a EOF error -39 (even though it had worked previously).
>>
>> I slept over it. I restarted Script Editor, relaunched the script. And no error.
>>
>> Is there anything I can do about that ? Like get a log of the state of Script Editor ? Like clear the memory assigned to it ?
>
> The likely explanation for such a state is that you opened a file for access, read it, and didn't close it. Trying to read a file that is already open will generate that error (and quitting the app will close it).
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> 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
_______________________________________________
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