Re: Select desktop items for a specific volume
Re: Select desktop items for a specific volume
- Subject: Re: Select desktop items for a specific volume
- From: Michelle Steiner <email@hidden>
- Date: Tue, 7 Aug 2001 13:36:42 -0700
On 8/7/01 1:12 PM, Jeremy Reichman <email@hidden> wrote:
>
How do I got about taking the list of returned items and using that with the
>
folder, given that the list contains only the file names of each file? The
>
specific problem that I've hit is keeping the old selection, if I go the
>
route of a repeat loop. (I can select each item in turn, really fast, but it
>
doesn't do me a lick of good.)
choose from list (list disks) with prompt "Select a disk:" default items
"Macintosh HD" OK button name "Select" without multiple selections
allowed and empty selection allowed
--watch out for line wrapping in above line
set selected_disk to item 1 of the result
set desktop_folder to ((selected_disk as string) & ":Desktop Folder")
tell application "Finder"
set folder_content to contents of (alias desktop_folder) as alias list
end tell
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------