Re: Stumped with list folder in Mac OS X
Re: Stumped with list folder in Mac OS X
- Subject: Re: Stumped with list folder in Mac OS X
- From: "Carl Davaz" <email@hidden>
- Date: Tue, 15 Jan 2002 12:48:14 -0800
Michelle,
More than the parens changed. Compare the two, the successful script
didn't address the path to the startup disk, it addressed the path to the
desktop. I think that's what confused me and it was the difference
between how the process between the two versions works.
This was my original script, which failed:
set theHD to (path to startup disk) as text
set folderPath to theHD & "Desktop Folder:CalendarMaker:"
set ImagePath to folderPath & "TestImages:"
set theList to list folder ImagePath
This was Daniel's which worked:
set theDesktop to path to the desktop as text
set folderPath to theDesktop & "CalendarMaker:"
set ImagePath to folderPath & "TestImages:"
set theList to list folder ImagePath as alias without invisibles
Thanks again,
Carl
>
Subject: Re: Stumped with list folder in Mac OS X
>
Date: Tue, 29 Jan 2002 20:42:12 -0700
>
From: Michelle Steiner <email@hidden>
>
To: <email@hidden>
>
>
On 1/29/02 7:55 PM, DavazNet amegraphics <email@hidden> wrote:
>
>
>I posted Daniel's cure below so others could see.
>
> set theList to list folder ImagePath as alias
>
>
Isn't that what I suggested?
>
>
set theList to list folder (ImagePath as alias)
>
>
Would the parens really make a difference?
>
>
--Michelle
Carl Davaz, email@hidden