• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Oakley Masten <email@hidden>
  • Date: Wed, 31 Mar 2010 08:06:17 -0700 (PDT)

On Tue, 30 Mar 2010  Michelle Steiner wrote

>>On Mar 30, 2010, at 7:16 PM, red_menace wrote:

>> -- write the data to the file
>> do shell script "touch " & quoted form of POSIX path of theFile -- make sure it is there
>> try
>>     set theOpenFile to open for access theFile with write permission
>>     set eof of theOpenFile to 0 -- overwrite

>You don't need that first line; if the file isn't there, "open for access theFile with write permission" will create it.

>-- Michelle

Thanks for chiming in.  Always appreciated.
Oakley


 _______________________________________________
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

  • Prev by Date: (no subject)
  • Next by Date: Re: Read Write pList Files
  • Previous by thread: (no subject)
  • Next by thread: Get all files in a folder ignoring invisibles?
  • Index(es):
    • Date
    • Thread