Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set theItem to quoted form of POSIX path of (choose folder)
- set theSize to (do shell script "/usr/bin/mdls -name kMDItemFSSize -raw " & theItem)
- on open f
- set filePath to do shell script "dirname " & POSIX path of f as string
- display dialog theFilePath
Add Comment
Please, Sign In to add comment