ShareShortcuts

Heat or Cool Device Test 1!

Note: This is Test 1!

coltensus
Fork “Heat or Cool Device Test 1!”

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 coltensus 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
22K
Saved
0
Actions
46
Category
API
Version
1.0
Language
EN

Note: This is Test 1!

What's New

Version 1.0

First release

Version History
1.0 Aug 2, 2024

First release

What it does

46 actions
  1. Choose from Menu
    Heat or Cool your device?
  2. Choose from Menu
    Heat
  3. Choose from Menu
    Heat Power
  4. Choose from Menu
    0%
  5. Show Notification
    Broken!
  6. Choose from Menu
    25%
  7. Text
  8. Repeat
  9. Set Orientation Lock
  10. Choose from Menu
    50%
  11. Set Flashlight
  12. Set Low Power Mode
  13. Text
  14. Repeat
  15. Set Orientation Lock
  16. Set Brightness
  17. Vibrate Device
  18. Choose from Menu
    75%
  19. Show Notification
    Broken!
  20. Choose from Menu
    100%
  21. Show Notification
    Broken!
  22. Choose from Menu
    Overload
  23. Show Notification
    Please prepare your device and ensure it has sufficient power during this process, as it may consume a lot of resources and could fail if the device is not adequately prepared. Stand by and monitor the progress closely.
  24. Wait
  25. Show Notification
    Starting ignition in 3...
  26. Wait
  27. Show Notification
    2...
  28. Wait
  29. Show Notification
    1...
  30. Wait
  31. Show Notification
    IGNITION!!!!!!!!!!!!
  32. Text
  33. Repeat
  34. Set Orientation Lock
  35. Set Brightness
  36. Set Brightness
  37. Set Brightness
  38. Wait
  39. Set Brightness
  40. Show Notification
    FAILURE!!!!!
  41. Wait
  42. Show Notification
    You are now supposed to cool down the device you have 60 secs to do so!
  43. Generate Hash
  44. Show Notification
    … Fixed!
  45. Choose from Menu
    Cool
  46. Show Notification
    Coming Soon!

View as code
Beta

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

#define mac false
#include 'actions/device'
#define color darkgray
#define glyph gear


menu "Heat or Cool your device?" {
item "Heat":
	menu "Heat Power" {
	item "0%":
		showNotification("Broken!", "Error!")
	item "25%":
		const Text = "1000"
		repeat _ for Text {
			setOrientationLock(false)
		}
	item "50%":
		toggleFlashlight(0.5)
		setLowPowerMode(0)
		const Text1 = "3000"
		repeat _ for Text1 {
			setOrientationLock(false)
			setBrightness(1)
			vibrate()
		}
	item "75%":
		showNotification("Broken!", "Error!")
	item "100%":
		showNotification("Broken!", "Error!")
	item "Overload":
		showNotification("Please prepare your device and ensure it has sufficient power during this process, as it may consume a lot of resources and could fail if the device is not adequately prepared. Stand by and monitor the progress closely.", "Overload Systems")
		wait(7)
		showNotification("Starting ignition in 3...", "Ignition Countdown")
		wait(1)
		showNotification("2...", "Ignition Countdown")
		wait(1)
		showNotification("1...", "Ignition Countdown")
		wait(1)
		showNotification("IGNITION!!!!!!!!!!!!", "Ignition Countdown")
		const Text2 = "5"
		repeat _ for Text2 {
			setOrientationLock(false)
			setBrightness(1)
			setBrightness(0.4979797303676605)
		}
		setBrightness(0)
		wait(1)
		setBrightness(1)
		showNotification("FAILURE!!!!!", "The Auto Announcement System For ???")
		wait(1)
		showNotification("You are now supposed to cool down the device you have 60 secs to do so!", "The Auto Announcement System For ???", true)
		const Hash = hash(RepeatResults)
		showNotification("{Hash} Fixed!", "The Auto Announcement System For ???", Hash)
	}
item "Cool":
	showNotification("Coming Soon!", "???")
}
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 coltensus

See All

You Might Also Like

See All
Advertisement