tell application "Finder" set theSel to the selection set theItem to item 1 of theSel set itemKindStr to (kind of theItem) as text if (itemKindStr ≠ "folder") then set itemFileType to (file type of theItem) as text else set itemFileType to "folder" end if if (itemKindStr = "Alias") then if (itemFileType = "missing value") then set itemKindStr to "Link: SymLink" else set itemKindStr to "Link: Alias" end if end if end tell return itemKindStr -->Link: Alias -->Link: SymLink -->BBEdit text document