Last active
December 7, 2023 06:20
-
-
Save sunzsh/caf2197b484c6d69e6e4dc8ec99d53bd to your computer and use it in GitHub Desktop.
alfred获取当前选中的文件路径
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
tell application "Finder" to set aliasItemName to selection as alias | |
set posixPathName to POSIX path of aliasItemName | |
return posixPathName | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment