Skip to content

Instantly share code, notes, and snippets.

View edeetee's full-sized avatar

Edward Taylor edeetee

View GitHub Profile
@aahung
aahung / .applescript
Created June 26, 2019 08:16
Open current folder in Kitty (apple script)
on alfred_script(q)
tell application "Finder"
set pathList to (quoted form of POSIX path of (folder of the front window as alias))
set textToType to "clear; cd " & pathList
end tell
tell application "System Events"
set isRunning to (exists (processes where name is "kitty"))
end tell