• 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: silly errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >silly errors (From: Jean-Christophe Helary <email@hidden>)
 >Re: silly errors (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Smile - Working Load Web Window with Log-In
  • Next by Date: Safari – Duplicate Tab Next to Itself
  • Previous by thread: Re: silly errors
  • Next by thread: Re: AS Library Question
  • Index(es):
    • Date
    • Thread