Skip to main content

format this nicer

ID
240c30a
date
2024-09-17 21:33:19+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
11cce71
message
format this nicer
changed files
1 file, 5 additions, 2 deletions

Changed files

macos/ffile (178) → macos/ffile (206)

diff --git a/macos/ffile b/macos/ffile
index 6ed569e..cc8a821 100755
--- a/macos/ffile
+++ b/macos/ffile
@@ -1,4 +1,7 @@
 #!/usr/bin/env osascript
-# See https://alexwlchan.net/til/2024/get-selected-finder-items/
+# Get the path to the first item which is selected in the
+# frontmost Finder window.
 
-tell application "Finder" to get POSIX path of first item of (selection as alias list)
+tell application "Finder"
+  get POSIX path of first item of (selection as alias list)
+end tell