ShareShortcuts

Set Brightness v2

Brightness

awesomeusername
Fork “Set Brightness v2”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so awesomeusername gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
41K
Saved
2
Actions
19
Category
Utilities
Version
1.0
Language
EN

Preview

Brightness

What's New

Version 1.0

First release

Version History
1.0 Jun 11, 2022

First release

What it does

19 actions
  1. Choose from Menu
    Main Menu
  2. Choose from Menu
    Brightness💡
  3. Choose from Menu
    Choose your brightness
  4. Choose from Menu
    0%
  5. Set Brightness
  6. Choose from Menu
    25%
  7. Set Brightness
  8. Choose from Menu
    50%
  9. Set Brightness
  10. Choose from Menu
    75%
  11. Set Brightness
  12. Choose from Menu
    100%
  13. Set Brightness
  14. Choose from Menu
    Settings🔒(ignore if on apple watch)
  15. Choose from Menu
  16. Choose from Menu
    Enable Dark Mode (saves battery)
  17. Set Appearance
  18. Choose from Menu
    Enable Light Mode (wastes battery)
  19. Set Appearance

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/settings'
#include 'actions/device'
#define color green
#define glyph iPhone


menu "Main Menu" {
item "Brightness💡":
	menu "Choose your brightness" {
	item "0%":
		setBrightness(0)
	item "25%":
		setBrightness(0.2514970004558563)
	item "50%":
		setBrightness(nil)
	item "75%":
		setBrightness(0.7514970302581787)
	item "100%":
		setBrightness(1)
	}
item "Settings🔒(ignore if on apple watch)":
	menu nil {
	item "Enable Dark Mode (saves battery)":
		darkMode()
	item "Enable Light Mode (wastes battery)":
		darkMode()
	}
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by awesomeusername

See All

You Might Also Like

See All
Advertisement