Created
August 15, 2020 20:17
-
-
Save kytrinyx/29b7e1c3530b639dd04e1f6efef76a7e to your computer and use it in GitHub Desktop.
AppleScript to open the most recent audio hijack recording in fission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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