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: Gary Hobish <email@hidden>
- Date: Thu, 14 Dec 2000 10:12:47 -0800
on 12/14/00 3:34 AM, Luca Pozzato wrote:
>
if you want select just local disks you can try this
>
>
--------
>
tell application "Finder"
>
set start_disk to startup disk as text
>
set localDiskList to every disk of folder (start_disk & "desktop
>
folder:")
>
set List_stuff to choose from list localDiskList with prompt "Select
>
Disk" without multiple selections allowed
>
set My_disk to the result
>
end tell
>
--------
>
Luca Pozzato
>
EuroGrafica
>
Italy
At the reference to "every disk" in line 3, an error was generated. If I
change the line to:
set localDiskList to every disk of desktop
it works great! Thanks!
Gary Hobish
Armin Hammer Productions
San Francisco