• 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
Writing to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Writing to a file


  • Subject: Writing to a file
  • From: JP Kelly <email@hidden>
  • Date: Sun, 14 Jul 2002 01:22:16 -0700

I am trying to write to a file that already exists.
Here is the offending line:

set fileRef to (open for access file "Users:jpkelly:Library:Application
Support:mover.prefs" with write permission)

This gives me an error: "Finder got an error: Duplicate file name."

I believe this was not a problem in OS 9.
How can I write to an existing file?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Writing to a file
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: Script performance on Mac OS X
  • Next by Date: Re: Writing to a file
  • Previous by thread: RE: Brother's AS Postscript from Quark
  • Next by thread: Re: Writing to a file
  • Index(es):
    • Date
    • Thread