• 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: How to choose a hard disk or volume?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to choose a hard disk or volume?


  • Subject: Re: How to choose a hard disk or volume?
  • From: Gary Hobish <email@hidden>
  • Date: Thu, 14 Dec 2000 00:04:35 -0800

Nope, there's no stray quote, and in fact there is no texte preceding the
line I posted. Quite simply, if I change the word "disk" to "file," or
"folder," the script compiles without a complaint.

At this point, the WHOLE of the script is:

set localDisk to (choose disk)

Gary Hobish
Armin Hammer Productions
San Francisco

> From: Paul Skinner <email@hidden>
> To: <email@hidden>
>
> 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?


  • Follow-Ups:
    • Re: How to choose a hard disk or volume?
      • From: Paul Berkowitz <email@hidden>
    • Re: How to choose a hard disk or volume?
      • From: Phi Sanders <email@hidden>
  • Prev by Date: Re: Does AppleScript have arrays within the language?
  • Next by Date: Does anyone use MacPerl AppleEvents?
  • Previous by thread: Re: How to choose a hard disk or volume?
  • Next by thread: Re: How to choose a hard disk or volume?
  • Index(es):
    • Date
    • Thread