• 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: I must be Daft! (creating a new text file)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I must be Daft! (creating a new text file)


  • Subject: Re: I must be Daft! (creating a new text file)
  • From: John Delacour <email@hidden>
  • Date: Mon, 7 Apr 2003 09:54:34 +0100
  • Mac-eudora-version: 6.0a14

At 11:28 pm -0500 5/4/03, david wrote:

set newFile to (open for access file FileLoc with write permission)

set eof_text to get eof of newFile
write FileTxt & return to newFile starting at (eof_text + 1)

;; write FileTxt to newFile
close access newFile

This makes no sense. All you need is 'starting at eof'

set fU to "/tmp/junk"
set f to POSIX file fU
repeat with c in characters of "abcde"
open for access f with write permission
write c to f starting at eof
close access f
end repeat
read f

-- JD
_______________________________________________
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: I must be Daft! (creating a new text file)
      • From: "David G. Simmons" <email@hidden>
References: 
 >Re: I must be Daft! (creating a new text file) (From: david <email@hidden>)

  • Prev by Date: Re: Space in POSIX path/Terminal shell
  • Next by Date: Enabling previews in Quark 4.03
  • Previous by thread: Re: I must be Daft! (creating a new text file)
  • Next by thread: Re: I must be Daft! (creating a new text file)
  • Index(es):
    • Date
    • Thread