Re: How to choose a hard disk or volume?
Re: How to choose a hard disk or volume?
- Subject: Re: How to choose a hard disk or volume?
- From: Paul Skinner <email@hidden>
- Date: Wed, 13 Dec 2000 22:21:20 -0500
Check your script carefully, or post it. I think that you have a
mismatched quote character in the text preceding the error that the editor
is highlighting. This would cause the compiler to read the quote before
'Choose' as a closing quote and to read the text 'disk' as the object
'disk'.
--
Paul Skinner
Ron Chapple Studios
>
I want the user to choose a volume within a script. I have tried:
>
>
set localDisk to (choose disk with prompt "Choose your startup disk.")
>
>
but I get an error when checking syntax on the word "disk" which says
>
"Expected "," but found identifier."
>
>
I tried the same thing with the word "volume" replacing "disk" but got the
>
same error.
>
>
Any ideas?
--
Paul Skinner
Ron Chapple Studios
501 North College street
Charlotte NC 28202
704-377-4217
>
From: Gary Hobish <email@hidden>
>
Date: Wed, 13 Dec 2000 18:37:30 -0800
>
To: email@hidden
>
Subject: How to choose a hard disk or volume?
>
>
I want the user to choose a volume within a script. I have tried:
>
>
set localDisk to (choose disk with prompt "Choose your startup disk.")
>
>
but I get an error when checking syntax on the word "disk" which says
>
"Expected "," but found identifier."
>
>
I tried the same thing with the word "volume" replacing "disk" but got the
>
same error.
>
>
Any ideas?
>
>
Also, how would I go about telling a system to restart from a script?
>
>
Thanks,
>
>
Gary Hobish
>
Armin Hammer Productions
>
San Francisco
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users