Re: How to open a file for writing?
Re: How to open a file for writing?
- Subject: Re: How to open a file for writing?
- From: Steve Mills via AppleScript-Users <email@hidden>
- Date: Sun, 3 Sep 2023 17:55:37 -0500
You need to close it when done. Does that help?
Steve via iPad
> On Sep 3, 2023, at 17:35, Jenni via AppleScript-Users
> <email@hidden> wrote:
>
> The following code has been working for me until I tried running it on
> an M1 Mac:
>
>
> -- Create file for writing…
> set file_reference to open for access file output_file with write permission
>
> write "Starting at " & time string of (current date) & return & return to
> file_reference
>
>
> Script Debugger pulls up a Leaked Resources dialog with a Forget button
> that I’ve never seen before. Is there another way I should be doing this
> now?
_______________________________________________
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