Hey guys,
I'm working with Sublime Text on my mac. I would like to add a button to the touchbar when the Finder app is open. On a button click the selected file should be opened with Sublime.
Is there a way to open a selected file with a given programme?
Otherwise there is a terminal command to open a file in Sublime:
"subl {FILEPATH}".
I wrote a service to copy a file's path to clipboard in Finder and assigned a shortcut. So I can copy the filepath with BTT. But I dont know how to tell BTT to execute the subl command with the copied path.
Can anybody help?
Thanks in advance!
Best regards
Nick