Re: silly errors
Re: silly errors
- Subject: Re: silly errors
- From: Shane Stanley <email@hidden>
- Date: Wed, 02 Dec 2015 10:15:36 +1100
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
References: | |
| >silly errors (From: Jean-Christophe Helary <email@hidden>) |