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: Joe Kelly <email@hidden>
- Date: Tue, 29 Jan 2002 15:19:01 -0800
You sure the folder exists? Maybe you're confusing the OS 9 and OS X
desktops. The former is "Your HD:Desktop Folder:" and the latter is "Your
HD:Users:{username}:Desktop:".
joe
>
-----Original Message-----
>
From: Carl Davaz [mailto:email@hidden]
>
Sent: Tuesday, January 29, 2002 2:56 PM
>
To: email@hidden
>
Subject: Re: Stumped with list folder in Mac OS X
>
>
>
Michelle,
>
>
Both
>
>
set theList to list folder (alias ImagePath)
>
and
>
set theList to list folder (ImagePath as alias)
>
>
returned the error: File NewsPB29X:Desktop
>
Folder:CalendarMaker:TestImages: wasn't found.
>
>
Thanks,
>
>
Carl
>
>
>Subject: Re: Stumped with list folder in Mac OS X
>
>Date: Tue, 29 Jan 2002 15:05:38 -0700
>
>From: Michelle Steiner <email@hidden>
>
>To: <email@hidden>
>
>
>
>On 1/29/02 2:41 PM, Carl Davaz <email@hidden> wrote:
>
>
>
>>Can't make "NewsPB29X:Desktop
>
Folder:CalendarMaker:TestImages:" into a
>
>>item.
>
>>
>
>>Can someone point out what I'm doing wrong?
>
>
>
>Imagepath is a string; apparently list folder will coerce
>
that string to
>
>an alias under OS 9, but not under OS X.
>
>
>
>Try this
>
>
>
>set theList to list folder (alias ImagePath)
>
>
>
>or possibly
>
>
>
>set theList to list folder (ImagePath as alias)
>
>
>
>--Michelle
>
>
--File NewsPB29X:Desktop Folder:CalendarMaker:TestImages:
>
wasn't found.
>
>
>
Carl Davaz, email@hidden
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.