I have created a SelfService policy that executes open -a "About This mac.app" in Self Service. We would like to have the app open directly into the "Storage" tab, so that users can identify/delete largest space hogs (Clicking on "Manage..." does that). Our managers like the colorfulness of that window, otherwise we'd launch "Storage Management"). Is there a way to get that tab open directly when the user clicks on the icon in Self Service?
This is what we currently have.
I don't believe there's a way to click on that exact tab. It's possible Applescript could do it, but getting GUI scripting to work right can be a little difficult.
You could open the System Information.app and then open the Storage Management window (same as clicking the Manage... button in the About this Mac > Storage tab)
Something like this for example, but it would have to be run in the user context to work I'm guessing, if being called in a Jamf policy.
tell application "System Information" activate tell application "System Events" keystroke "u" using command down end tell end tell
This won't bring you to the colored bar in the About window of course, so I don't know if it meets your needs.