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: Jeremy Reichman <email@hidden>
- Date: Tue, 07 Aug 2001 17:05:39 -0400
The wrapping of my script is "correct" in Script Editor; I just pasted it
into my earlier message.
When I use the code below, I get an error that the Finder can't make the
contents of the alias desktop_folder into an alias list.
Also, whenever I try to use "contents of" or "entire contents of" in any of
my attempts to select all items on the desktop, it has always failed. It
works much better for other stuff in the Finder for me, but not here, for
some reason.
on 8/7/01 4:36 PM, Michelle Steiner at email@hidden wrote:
>
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
--
Jeremy Reichman
Software Specialist III (Mac OS) / Instructor
Customer Support Services
Information and Technology Services
Rochester Institute of Technology
Rochester, New York, USA