• 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: How to open a file for writing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to open a file for writing?
      • From: Jenni via AppleScript-Users <email@hidden>
References: 
 >How to open a file for writing? (From: Jenni via AppleScript-Users <email@hidden>)

  • Prev by Date: How to open a file for writing?
  • Next by Date: Re: How to open a file for writing?
  • Previous by thread: How to open a file for writing?
  • Next by thread: Re: How to open a file for writing?
  • Index(es):
    • Date
    • Thread