• 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
Re: Obtaining the name of a "dropped" folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining the name of a "dropped" folder


  • Subject: Re: Obtaining the name of a "dropped" folder
  • From: Michael Turner <email@hidden>
  • Date: Thu, 11 Apr 2002 19:38:49 -0400

on open theFileList
set oldTID to AppleScript's text item delimiters
repeat with anItem in theFileList
set dPath to ("" & anItem)
set AppleScript's text item delimiters to {":"}
if (last text item of dPath is "") then
display dialog "Folder"
else
display dialog ("File")
end if
end repeat
set oldTID to AppleScript's text item delimiters
end open
_______________________________________________
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.

References: 
 >Re: Obtaining the name of a "dropped" folder (From: Michael Turner <email@hidden>)

  • Prev by Date: Re: opening a .app bundle
  • Next by Date: Re: opening a .app bundle
  • Previous by thread: Re: Obtaining the name of a "dropped" folder
  • Next by thread: Fwd: Obtaining the name of a "dropped" folder
  • Index(es):
    • Date
    • Thread