How to open a file for writing?
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