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

How to open a file for writing?


  • Subject: How to open a file for writing?
  • From: Jenni via AppleScript-Users <email@hidden>
  • Date: Sun, 3 Sep 2023 15:30:14 -0700

        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?

Thanks,
Marc
 _______________________________________________
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: Steve Mills via AppleScript-Users <email@hidden>
  • Next by Date: Re: How to open a file for writing?
  • Next by thread: Re: How to open a file for writing?
  • Index(es):
    • Date
    • Thread