Fix indentations. (#120)
This commit is contained in:
parent
37349486c4
commit
ec585aceb5
30
functions.md
30
functions.md
@ -61,22 +61,22 @@ function finder_path {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Print Files Selected in Finder
|
### Print Files Selected in Finder
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
selected() {
|
selected() {
|
||||||
osascript <<EOT
|
osascript <<EOT
|
||||||
tell application "Finder"
|
tell application "Finder"
|
||||||
set theFiles to selection
|
set theFiles to selection
|
||||||
set theList to ""
|
set theList to ""
|
||||||
repeat with aFile in theFiles
|
repeat with aFile in theFiles
|
||||||
set theList to theList & POSIX path of (aFile as alias) & "\n"
|
set theList to theList & POSIX path of (aFile as alias) & "\n"
|
||||||
end repeat
|
end repeat
|
||||||
theList
|
theList
|
||||||
end tell
|
end tell
|
||||||
EOT
|
EOT
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Set Current Directory's Finder View to Column View
|
### Set Current Directory's Finder View to Column View
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user