• 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: 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


References: 
 >How to choose a hard disk or volume? (From: Gary Hobish <email@hidden>)

  • Prev by Date: Re: Problem with Filemaker/Applescript
  • Next by Date: Re: date snippet
  • Previous by thread: How to choose a hard disk or volume?
  • Next by thread: Re: How to choose a hard disk or volume?
  • Index(es):
    • Date
    • Thread