Skip to content

Instantly share code, notes, and snippets.

View rok-git's full-sized avatar

rok rok-git

View GitHub Profile
@rok-git
rok-git / getFinderTabs.applescript
Last active February 5, 2018 06:19
Finder の最前面で開いているウィンドウにあるタブそれぞれが開いているフォルダを POSIX path として得る。
use scripting additions
tell application "Finder"
set targetList to {}
activate
tell front window
repeat
set t to POSIX path of (target as alias)