Re: Obtaining the name of a "dropped" folder
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.