Delete submission to enable correct attribution
This commit is contained in:
parent
2074d145c9
commit
1a254cb093
12
functions.md
12
functions.md
@ -11,18 +11,6 @@
|
|||||||
|
|
||||||
## Finder
|
## Finder
|
||||||
|
|
||||||
### Get Path of Frontmost Finder Window
|
|
||||||
```bash
|
|
||||||
function finder_path {
|
|
||||||
osascript -e 'tell application "Finder"'\
|
|
||||||
-e "if (${1-1} <= (count Finder windows)) then"\
|
|
||||||
-e "get POSIX path of (target of window ${1-1} as alias)"\
|
|
||||||
-e 'else' \
|
|
||||||
-e 'get POSIX path of (desktop as alias)'\
|
|
||||||
-e 'end if' \
|
|
||||||
-e 'end tell';
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
Loading…
Reference in New Issue
Block a user