Folder or a package ?
Folder or a package ?
- Subject: Folder or a package ?
- From: "Thomas C." <email@hidden>
- Date: Sun, 11 May 2003 20:27:08 +0200
Is there a way I can make the difference between a folder and a package
without using the 'info for' command which is too slow ?
on open these_items
repeat with i from 1 to count of these_items
set this_item to item i of these_items
if this_item does not end with ":" then
it's a file
else if this_item ends with ":" then
it's a folder or a package ?
end if
end repeat
end
Thanks Thomas
_______________________________________________
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.