Skip to content

Instantly share code, notes, and snippets.

@kytrinyx
Created August 15, 2020 20:17
Show Gist options
  • Save kytrinyx/29b7e1c3530b639dd04e1f6efef76a7e to your computer and use it in GitHub Desktop.
Save kytrinyx/29b7e1c3530b639dd04e1f6efef76a7e to your computer and use it in GitHub Desktop.
AppleScript to open the most recent audio hijack recording in fission
set sourceFolder to "Macintosh HD:Users:kytrinyx:Music:Audio Hijack" as alias
tell application "Finder"
sort (get files of sourceFolder) by creation date
-- This raises an error if the folder doesn't contain any files
set theFile to (item -1 of result) as alias
end tell
tell application "Fission" to open theFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment