Re: Please explain this!?
Re: Please explain this!?
- Subject: Re: Please explain this!?
- From: Hugh Dixon <email@hidden>
- Date: Fri, 23 Nov 2001 12:42:14 +0000
On 23/11/01 11:26 am, Harald E Brandt of email@hidden wrote in whole or
in part:
>
tell application "Finder" to (folders in extensions folder whose name starts
>
with "a")
>
-- {folder "ActiveX Controls" of folder "Extensions" of folder "System
>
Folder" of startup disk of application "Finder"} --Fine, that's expected. Now,
>
pick that folder:
>
>
tell application "Finder" to item 1 of (folders in extensions folder whose
>
name starts with "a")
>
-- {file "AdobePS" of folder "Extensions" of folder "System Folder" of
>
startup disk of application "Finder"}
Hi
How about
tell application "Finder" to item 1 of (item 1 of folders of extensions
folder whose name starts with "a")
--folder "ActiveX Controls" of folder "Extensions" of folder "System Folder"
of startup disk of application "Finder"
I'm sure wiser people than I can explain why, if they aren't suffering from
turkey meltdown. Finder having trouble with implicit list coercions would be
my guess.
(Your second way of doing it seems a lot clearer to me.)
Regards
Hugh Dixon
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************