• 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: Checking on the existence of a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking on the existence of a file


  • Subject: Re: Checking on the existence of a file
  • From: Eric Robertson <email@hidden>
  • Date: Sun, 28 Oct 2012 12:05:14 +0000


On 26 Oct 2012, at 23:54, email@hidden wrote:

Le 26 oct. 2012 à 17:41, Eric Robertson a écrit :

On 25 Oct 2012, at 00:20:31, Axel Luttgens wrote:

Le 24 oct. 2012 à 17:55, Eric Robertson a écrit :
[...] I am now using TextWrangler to save away the details!

Hello Eric,

Are those details just made of plain text?
In which case it could well be that you don't need to make use of an application at all...

Yes, they're all plain text.

OK then, even if I know I'll open another bag of bones. ;-)

There's the pure Standard Additions way, for example in a very academic manner:

set fRef to open for access (POSIX file "/Users/x_luttgens/Documents/New Notes.txt") with write permission
write "This is sample text" to fRef
close access fRef

HTH,
Axel

Thanks for this Axel, yet another way to write to a new file. I'm slowly learning!

Eric.

 _______________________________________________
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: Re: Time anomaly
  • Next by Date: Re: Checking on the existence of a file
  • Previous by thread: Re: Checking on the existence of a file
  • Next by thread: Re: Checking on the existence of a file
  • Index(es):
    • Date
    • Thread