Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "Finder"
- set theWin to window 1
- set thePath to (POSIX path of (target of theWin as alias))
- display dialog thePath buttons {"Clipboard", "OK"} default button 2
- if the button returned of the result is "Clipboard" then
- set the clipboard to thePath
- end if
- end tell
Advertisement
Comments
-
- To find the current directory in your terminal or command prompt, you can use the "pwd" command in Unix-based systems or "cd" command without any arguments in Windows. It will display the full path of the directory you are currently in.https://buyghostgunskit.com/
Add Comment
Please, Sign In to add comment
Advertisement