Re: New to AppleScript,please help.
Re: New to AppleScript,please help.
- Subject: Re: New to AppleScript,please help.
- From: Alex Zavatone <email@hidden>
- Date: Wed, 05 Jan 2011 19:47:39 -0600
Dammit man, you beat me.On Jan 5, 2011, at 7:39 PM, André Renault wrote: Tried and true:
set randomList to {} repeat 34 times copy (random number from 21 to 29) to the end of randomList end repeat
set {AppleScript's text item delimiters, tid} to {"\n", AppleScript's text item delimiters} set pathToFile to "/Path/To/Text/File.txt" set openedFile to open for access pathToFile with write permission write (randomList as string) to openedFile close access openedFile
|
_______________________________________________
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