-
-
Save digitalbase/0d0cd9395f061e14ca91ec2ebb14fbf1 to your computer and use it in GitHub Desktop.
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
(async ()=> { | |
let url = await callBTT('get_string_variable', {variable_name:'BTT_OPENED_URL'}); | |
// this will open safari with the given URL | |
let openScript = { | |
launchPath: '/usr/bin/open', | |
parameters: '-a /Applications/Linear.app ' + url, | |
}; | |
await runShellScript(openScript); | |
returnToBTT(url); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment