Making one item in a list into a list
Making one item in a list into a list
- Subject: Making one item in a list into a list
- From: "Jeff Handy" <email@hidden>
- Date: Wed, 31 Mar 2004 12:30:20 -0500
- Thread-topic: Making one item in a list into a list
I thought I could coerce anything into a list?? I'm trying to list all
folders (in this case there is only one folder) into a list. However,
AS won't do it. What the?? The first part of this block works fine for
multiple folders. However, when there is only one folder, I thought the
second line in the block would work. What am I doing wrong? Here's
what I have.
----------- Code is below this line --------------
try
Set theFoldersList to (every folder of the entire contents of folder
thisQuickTimeFolder) as alias list
On error
Set theFoldersList to (every folder of the entire contents of folder
thisQuickTimeFolder) as list
This email transmission is confidential and intended solely for the person or organization to which it is addressed. If you are not the intended recipient, copying, printing, distributing or disseminating the information contained herein as well as taking any action in reliance of its content is prohibited and may be unlawful. If this message has been received in error, please notify the sender immediately and subsequently delete the message.
_______________________________________________
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.