From 1a254cb093fcc2d56186a7383d2912ecb60cf68f Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Fri, 4 Dec 2015 00:25:56 +0100 Subject: [PATCH] Delete submission to enable correct attribution --- functions.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/functions.md b/functions.md index d3790f8..195837c 100644 --- a/functions.md +++ b/functions.md @@ -11,18 +11,6 @@ ## 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