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: John W Baxter <email@hidden>
- Date: Tue, 7 Aug 2001 19:39:42 -0700
At 13:36 -0700 8/7/2001, Michelle Steiner wrote:
>
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, does the above overcome Finder's strange desire to consider
desktop items from "other" volumes to be part of the startup volume? Or
has a new enough version corrected that little flaw?
--John
--
John Baxter email@hidden Port Ludlow, WA, USA