Skip to main content
Question

"About this Mac" - "Storage" tab in Self Service

  • Mar 23, 2022 2:55 PM UTC
  • 5 replies
  • 61 views

Hermenegildah
Forum|alt.badge.img+3

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. 

 

 

 

Thanks,

 

E

 

 

5 replies

mm2270
Forum|alt.badge.img+24
  • Legendary Contributor
  • Mar 23, 2022 4:28 PM UTC

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.

 


Forum|alt.badge.img+7

try 


Hermenegildah
Forum|alt.badge.img+3
  • Author
  • New Contributor
  • Mar 24, 2022 12:56 PM UTC

Thanks, but it still opens in the "Overview" tab. I was trying to find out if it can be open directly from the "Storage" one. 


YanW
Forum|alt.badge.img+11
  • Valued Contributor
  • Mar 28, 2022 1:27 PM UTC

Thanks, but it still opens in the "Overview" tab. I was trying to find out if it can be open directly from the "Storage" one. 


Try using @vinu_thankachan command from "About This Mac" to "Storage Management"?


cucaracha
Forum|alt.badge.img+5
  • Contributor
  • Jul 3, 2024 4:08 AM UTC

```

open x-apple.systempreferences:com.apple.settings.Storage
```