Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lucasrant

macrumors 6502
Original poster
Oct 24, 2008
268
306
I'm trying to create a shortcut in macOS to open the Hide My Email subsection SystemPreferences -> AppleID -> iCloud -> Hide My Email, but I can only get to the iCloud subsection with:

x-apple.systempreferences:com.apple.systempreferences.AppleIDSettings?iCloud

Has anyone been able to figure out how to do this?

These are the sources for the url above:

 

lucasrant

macrumors 6502
Original poster
Oct 24, 2008
268
306
You'll need to run an AppleScript to navigate to the Hide My Email screen once the iCloud screen opens.

The shortcut found here does a little more than what you're asking for, but it should give you an idea of what needs to be done in the AppleScript.
https://www.reddit.com/r/shortcuts/comments/yp5817
Thanks! This worked!

I used this to make this shortcut that works on iOS and macOS Ventura, it's a combination of the two shortcuts listed below. (I think it might not work on versions prior to ventura)

Sources:
https://www.reddit.com/r/shortcuts/comments/yp5817
 

PND

macrumors newbie
Oct 16, 2012
4
0
Thanks! This worked!

I used this to make this shortcut that works on iOS and macOS Ventura, it's a combination of the two shortcuts listed below. (I think it might not work on versions prior to ventura)

Sources:
https://www.reddit.com/r/shortcuts/comments/yp5817
Hi @lucasrant,
Thanks for your time, but there is an issue with it.
When System Settings > iCloud window is already open (which contains iCloud+ colored storage stripe), launch this shortcut opens Private Relay settings window instead of Hide My Email.
Please take a look of it, I hope it's easy to fix.
 

longterm

macrumors member
Mar 15, 2007
36
22
Thanks! This worked!

I used this to make this shortcut that works on iOS and macOS Ventura, it's a combination of the two shortcuts listed below. (I think it might not work on versions prior to ventura)

Sources:
https://www.reddit.com/r/shortcuts/comments/yp5817
Works great! I was looking for this exact thing.

I had created one in Keyboard Maestro, but this one is better to me. It would be nice if Apple would create a URL that would get right to it, eliminating the hassle, but you've worked it out nicely. Well done!
 

NateWorldWide

macrumors newbie
May 9, 2024
1
0
Has anyone found or scripted one that also saves the associated password used on a website? I was thinking of combining both Hide My Email and Password Shortcut, but I am not as good at things like that as others so figured I would ask first.
 

density/relapse

macrumors newbie
Aug 27, 2024
1
0
Hi @lucasrant,
Thanks for your time, but there is an issue with it.
When System Settings > iCloud window is already open (which contains iCloud+ colored storage stripe), launch this shortcut opens Private Relay settings window instead of Hide My Email.
Please take a look of it, I hope it's easy to fix.
Hi PND,
I was also experiencing the same issue as you but in my case it would open the family storage quotas page instead of the private relay. I was able to fix your issue by changing the index on the UI Element in the Shortcut editor to "4" as pictured below. If in your case, you are not part of a icloud family you would set the index to "3". Compare my icloud settings page to yours to see if there is in fact that difference.
Untitled.jpg Untitled2.jpg
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.