Hello everyone.
I want to open an application created with automator, but when I try to use Soundflow's Launch Application or Open a File, it doesn't work.
I think that it corresponds to the operation of selecting a file on the Finder and double-clicking (or ⌘ + O). Is there a good way?
- Kitch Membery @Kitch2021-09-29 00:52:58.669Z
Hi @Masayoshi_Sugai,
This will do what you want. Just update the
automatorAppPath
to the path of your automator file.const automatorAppPath = "/Users/kitchmembery/Desktop/Speak.app"; sf.system.exec({ commandLine: `automator "${automatorAppPath}"` });
I would however suggest recreating the app within SoundFlow that way you will have access to it on any system you are working on. :-)
Rock on!
- MMasayoshi Sugai @Masayoshi_Sugai
Thank you, Kitch!!
It worked!!By the way, the name of the App created by Automator was [Automator_Eject "CLARITY M"] and soundflow did not respond, and when I changed it to [Eject CLARITY M], it worked fine.
Are there any characters that shouldn't be used in filenames, not just this script?
Kitch Membery @Kitch2021-09-29 02:03:07.078Z
Yes the following characters are seen as special characters in command line;
You can escape them by adding a backslash \ before each occurrence of them.
:-)
- MMasayoshi Sugai @Masayoshi_Sugai
got it!
Thank you! !!Dustin Harris @Dustin_Harris
Hi @Masayoshi_Sugai , if you’re ejecting a drive, here is a way to do it using only SoundFlow, if you find it helpful: