ShareShortcuts

Water & Dust Ejection

Water & Dust Ejection is a shortcut that removes dust and water from your speaker!

coolm
Fork “Water & Dust Ejection”

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 coolm 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
25K
Saved
1
Actions
26
Category
Utilities
Version
1.0
Language
EN

Preview

Water & Dust Ejection is a shortcut that removes dust and water from your speaker!

What's New

Version 1.0

First release

Version History
1.0 Apr 11, 2024

First release

What it does

26 actions
  1. Comment
    Made By CoolM
  2. Text
  3. Choose from Menu
    …
  4. Choose from Menu
    Water Ejection 💧
  5. Choose from Menu
    Start water ejection?
  6. Choose from Menu
    Yes
  7. Show Alert
  8. Set Volume
  9. Repeat
  10. Text
  11. Play Sound
  12. Set Volume
  13. Choose from Menu
    No
  14. Stop This Shortcut
  15. Choose from Menu
    Dust Ejection 🌫️
  16. Choose from Menu
    Start dust ejection?
  17. Choose from Menu
    Yes
  18. Repeat
  19. Vibrate Device
  20. Vibrate Device
  21. Vibrate Device
  22. Vibrate Device
  23. Vibrate Device
  24. Choose from Menu
    No
  25. Stop This Shortcut
  26. Comment
    Made by CoolM

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/media'
#include 'actions/device'
#define color green
#define glyph volumeMid

// Made By CoolM


menu  {
item "Water Ejection 💧":
	menu "Start water ejection?" {
	item "Yes":
		confirm("⚠️Warning: The sound is going to be loud so 𝗶𝗳 𝘆𝗼𝘂 𝗮𝗿𝗲 𝘂𝘀𝗶𝗻𝗴 𝘆𝗼𝘂𝗿 𝗵𝗲𝗮𝗱𝗽𝗵𝗼𝗻𝗲𝘀 𝗼𝗿 𝗔𝗶𝗿𝗣𝗼𝗱𝘀 𝗧𝗮𝗸𝗲 𝘁𝗵𝗲𝗺 𝗼𝗳𝗳!")
		setVolume(0.8030303120613098)
		repeat _ for 2 {
			const Text = "https://cdn.pixabay.com/download/audio/2022/03/15/audio_61918fdafd.mp3?filename=vacuum_cleaner-73727.mp3"
			playSound(Text)
		}
		setVolume(0.44747471809387207)
	item "No":
		stop()
	}
item " Dust Ejection  🌫️":
	menu "Start dust ejection?" {
	item "Yes ":
		repeat _ for 5 {
			vibrate()
			vibrate()
			vibrate()
			vibrate()
			vibrate()
		}
	item "No":
		stop()
	}
}
// Made by CoolM
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 coolm

See All

You Might Also Like

See All
Advertisement