Never really used Shortcuts much, but with the new action button on the 15 Pro's I'm hoping I can do something specific with it. I decided to set the action button to open the camera by default, but I put the phone on a magsafe charger at night and since I have a different work schedule and slightly different bedtime most nights from my wife I used to hit the mute switch first on my last phone before dropping it on so it didn't do the magsafe "ding". Wondering if there's a way to create a shortcut that can change the function of the action button depending on the Focus state of the phone. So for instance during "Sleep" focus the button turns into a mute switch and then when there's no focus state like after waking up it can revert to opening the camera? If this is possible is it then possible to link that shortcut to the focus state so it activates automatically?
I'm guessing this is probably too advanced for Shortcuts but figured I'd check and see if those that do some crazy stuff with them might know.
edit: Just to make it a little more clear, the end functionality I"m look for is this......
1. Sleep Focus activates automatically as usual but then turns the action button to a mute switch
2. I can press/hold to mute, put phone on magsafe dock, press/hold button to turn mute off so alarms etc will run
3. In the morning Sleep Focus ends and the button reverts to the Open Camera state.
I'm guessing this is probably too advanced for Shortcuts but figured I'd check and see if those that do some crazy stuff with them might know.
edit: Just to make it a little more clear, the end functionality I"m look for is this......
1. Sleep Focus activates automatically as usual but then turns the action button to a mute switch
2. I can press/hold to mute, put phone on magsafe dock, press/hold button to turn mute off so alarms etc will run
3. In the morning Sleep Focus ends and the button reverts to the Open Camera state.