When I try to create a launch for Mac's System Preferences or Disk Utility, you can't add those and other Mac related app's in SF. Am I missing something?
Thanks!
Linked from:
- Kitch Membery @Kitch2020-03-26 01:06:11.372Z
Hi Dean,
Check out this link;
https://soundflow.org/docs/how-to/stream-deck/setting-upIt will show you how to do it.
Rock on
Kitch - In reply toDean⬆:Christian Scheuer @chrscheuer2020-03-26 02:00:52.438Z
I think what you mean is that using the Launch application action you can't do this.
Instead for now as a workaround you should be able to do this via the "Execute System Command" (runs commands like from Terminal).For example this command line will open the Security -> Privacy" tab of System Preferences:
open "x-apple.systempreferences:com.apple.preference.security?Privacy"
Ron Aston @Ron_Aston
Hi Christian....I'm also interested in making a macro for launching Disk Utility as well as Launch System Prefs. I'm stumped.
Thanks!
-Ron
Christian Scheuer @chrscheuer2020-03-26 02:13:21.111Z
Hi Ron.
Disk Utility should be possible to find via "Launch application". If not, you can use "Open a File" action, and in the Path, click the 3 small dots to browse to the Disk Utility app. Leave the "application" field blank.
Christian Scheuer @chrscheuer2020-03-26 02:15:34.856Z
Different ways of doing it:
Ron Aston @Ron_Aston
Wow. thanks for this! I’ll tell Dean to just go here so he can see it. Much appreciated!
- In reply tochrscheuer⬆:DDean Landon @Dean_Landon
Christian, none of those work. I tried all 3. For some reason, I can't get them to run on my end.
Christian Scheuer @chrscheuer2020-03-26 02:47:17.954Z
Dean please give us more info. "Doesn't work" doesn't help us help you. Show us, tell us what you did, what happened, what's the error etc.
- DDean Landon @Dean_Landon
Ok, you mentioned above "Different ways off doing it. I tried them, but it doesn't bring up the Disk Utility window when I Run Macro.
Christian Scheuer @chrscheuer2020-03-26 02:54:14.010Z
The most likely case is that you entered something in wrong, or that Disk Utility is not responding to events (I've seen this in the past if the app is stuck).
However - when you don't show me how you entered it, and don't quote from the log then I can't help you.To narrow down your issue, try running this from Terminal:
open "/applications/utilities/disk utility.app"
- DDean Landon @Dean_Landon
When I ran open "/applications/utilities/disk utility.app" in Terminal, I get:
Last login: Wed Mar 25 19:55:13 on ttys000
dlp@Deans-Mac-Pro-2 ~ % open "/applications/utilities/disk utility.app"
The file /applications/utilities/disk utility.app does not exist.
dlp@Deans-Mac-Pro-2 ~ %Christian Scheuer @chrscheuer2020-03-26 02:59:50.872Z
That explains - so the app has been moved out of place. Not a SoundFlow bug, but an error in your installation of macOS.
You should find out where it's located so you can provide the correct path.
If you followed my instructions this shouldn't have been the issue, since I asked you to browse to its path (wherever that may be):If not, you can use "Open a File" action, and in the Path, click the 3 small dots to browse to the Disk Utility app.
- DDean Landon @Dean_Landon
Disk Utility is in my Utilities folder. Also, this happens with System Preferences, Photos, Preview and other Apple app's.
- DDean Landon @Dean_Landon
I tried both Launch and Open a File... same difference.
- DDean Landon @Dean_Landon
Ok the 3 dot worked for DU. I'll see if I can do that with the other app's. Thanks!
Christian Scheuer @chrscheuer2020-03-26 03:16:45.236Z
On the action you got working, please do the following:
- Click "Convert to Script"
- Copy/paste the working script code here.
- DDean Landon @Dean_Landon
Here you go
sf.file.open({
path: "/System/Applications/Utilities/Disk Utility.app",
});
- In reply toDean_Landon⬆:
Christian Scheuer @chrscheuer2020-03-26 03:09:28.188Z
The issue is not with SoundFlow directly but with something that disallows you to find these things through Terminal.
You should get this working from Terminal, then just copy/paste that code into Execute System Command.Your terminal result says there's no file located there:
The file /applications/utilities/disk utility.app does not exist.
So clearly something's off.
Potential issues:- Do you use a case-sensitive file system
- Is your applications folder located on a different drive?
- Do you have symlinks installed for the applications folder?
- Or any other weirdness?
- DDean Landon @Dean_Landon
To answer your questions...
Do you use a case-sensitive file system (I don't think so. How would I even know?)
Is your applications folder located on a different drive? (It's not. It's in the usual place)
Do you have symlinks installed for the applications folder? (I don't even know what that is)
Or any other weirdness? (I cleaned installed Catalina and finished installing PT and plug ins, VIs)- DDean Landon @Dean_Landon
I followed your instructions: If not, you can use "Open a File" action, and in the Path, click the 3 small dots to browse to the Disk Utility app.
This is the Path.
/System/Applications/Utilities/Disk Utility.app
Christian Scheuer @chrscheuer2020-03-26 03:18:50.288Z
Beautiful - thank you. This explains it. The path apparently has been changed for OS apps in Catalina.
- DDean Landon @Dean_Landon
Aah, thank goodness. I thought I was losing my mind. :-)
Christian Scheuer @chrscheuer2020-03-26 09:53:35.993Z
3.5.1 will have a fix so that it also searches for apps in /System/Applications, which means the Launch Application action should work normally (ie. you'd be able to find Disk Utility there normally).
- DDean Landon @Dean_Landon
That'll be great, Christian.
- In reply tochrscheuer⬆:
Ron Aston @Ron_Aston
Thanks a lot Christian! I’ll give this a go tomorrow but I’ll pass this onto Dean now so he can try it.
- In reply tochrscheuer⬆:
Christian Scheuer @chrscheuer2020-03-26 02:20:27.377Z
Example of launching system preferences in the root (not already navigated to a sub folder):
Christian Scheuer @chrscheuer2020-03-26 02:21:37.243Z
See this article for some examples of Terminal code that can open System Preferences:
https://www.tweaking4all.com/forum/macos-x-software/macos-how-to-open-system-preferences-from-terminal/