Re: make command
Re: make command
- Subject: Re: make command
- From: JollyRoger <email@hidden>
- Date: Fri, 01 Jun 2001 07:10:35 -0500
on 5/31/2001 8:32 PM, Paul Berkowitz at email@hidden wrote:
>
> If so, you'll want to use the Standard Additions scripting addition to
>
> create/write to the file. I would suggest using the "open for access
>
> <alias> with write permission" command, which will automatically create the
>
> file if it does not exist.
>
>
I think that this is one of those occasions that you really need to specify
>
'file filePath', not 'alias filePath' to create a file that does not exist,
>
if you don't have Akua Sweets or Jon's Commands installed (whose
>
alias-to-file-specification coercions will take care of it for you if
>
installed).
>
>
[
>
open for access : Open a disk file for the read and write commands
>
open for access alias -- the file to open for access. If this is a
>
file specification of a file that does not exist, a new file is created.
>
]
Good catch. Thanks, Paul. I probably would have figured that out if I had
actually written some code using the command. :)
JR