How to get Shortcut Run to toggle Device Settings?

Is it possible to have Global Variable toggle each time Shortcut runs such that there’s only one Shortcut instead of two shortcuts to toggle Settings such as Smart Invert ?


As following Screenshot is attempting, when Shortcut runs first time, it creates and set Global Variable Invert to 1; then turn on Setting Smart Invert. Next time Shortcut run, Setting Smart Invert should turn OFF because it is already ON. Following shortcut isn’t working; as if Global Variable cannot be toggled to 0

iPad mini (6th generation)

Posted on Apr 10, 2023 6:07 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 11, 2023 2:37 AM

Why are you using a Global Variable?


Search for the Set Smart Invert action and then tap on Turn and choose Toggle.


Shortcuts User Guide for iPhone and iPad


õ¿õ¬

6 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to get Shortcut Run to toggle Device Settings?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.