-
-
Save zhanggang807/e882ca428490132bf2796b6f54bb4660 to your computer and use it in GitHub Desktop.
alfred获取当前选中的文件路径
This file contains hidden or 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