Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set thePath to "~/Desktop"
- return (do shell script "ls -l \"" & thePath & "\" | wc -l | awk '{ print $1 }'") as integer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement