Not starting app if it’s already running #311
-
Hi, interesting application. How do I start Visual Studio Code if it's not already running? I tried this but it doesn’t work.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
VS Code has taken some special handling and I may have messed something up in the process. I’ll have to look into it.
What audio feedback are you hearing? Can I see your Bunch?
Thanks,
Brett
…On Dec 30, 2023 at 3:56 PM -0600, Erik Martines Sanches ***@***.***>, wrote:
H, interesting application. How do I start Visual Studio Code if it's not already running? I also do not want to quit Visual Studio Code when the bunch stops. I tried this
if Visual Studio Code is not running
%Visual Studio Code
but it quits Visual Studio Code when the bunch is stopped.
Also, how do I avoid the audio readout of the bunch when I select it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Looking at your Bunch, you're missing an I tested your markup with the end statement added and VSC launched and didn't quit when I closed the bunch. I would note that the
|
Beta Was this translation helpful? Give feedback.
Looking at your Bunch, you're missing an
end
statement on theif
block, but I don't know what all that's effecting. And the audio feedback is coming from thesay
command in the Example bunch, which is there as… an example :).I tested your markup with the end statement added and VSC launched and didn't quit when I closed the bunch. I would note that the
if not running
statement is probably not necessary, if the app is already running the worst that will happen is it will be focused. But try adding theend
statement and see if you get better results.