-
-
Save Edenharder/e4b91a37bbc9212c3f50797c4f1bb67c to your computer and use it in GitHub Desktop.
applescript:get selected filename and extension
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
tell application "Finder" to set theFile to POSIX path of (selection as alias) | |
tell application "Finder" to set fileExtension to name extension of (selection as alias) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment