Re: Checking on the existence of a file
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
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