Re: whose class is folder...
Re: whose class is folder...
- Subject: Re: whose class is folder...
- From: "Stockly, Ed" <email@hidden>
- Date: Sat, 07 Apr 2018 00:47:41 +0000
- Thread-topic: whose class is folder...
Let me save you some time and frustration:
tell application "Finder"
set myFinderItems to the selection as alias list
set selectedFolders to {}
repeat with thisItem in myFinderItems
if the kind of thisItem is "folder" then
set the end of selectedFolders to thisItem as alias
end if
end repeat
end tell
return selectedFolders
Past that into your script; drop it into a handler and go on to the next issue.
I've banged my head on the same wall, to no avail.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden