• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Folder or a package ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Folder or a package ?
      • From: Christopher Nebel <email@hidden>
    • Re: Folder or a package ?
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Bug in osacompile ??
  • Next by Date: Creating PDF files from a browser
  • Previous by thread: Re: Bug in osacompile ??
  • Next by thread: Re: Folder or a package ?
  • Index(es):
    • Date
    • Thread