ShareShortcuts

Cat toy

Play hide and seek with your pet

Fork “Cat toy”

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 the original creator 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
73K
Saved
0
Actions
55
Category
Fun
Version
1.0
Language
EN

Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket. Shortcut features: - Select a sound - Choose the playing time - Restores your volume and brightness after the game has ended.

What's New

Version 1.0

First release

Version History
1.0 Nov 2, 2018

First release

What it does

55 actions
  1. Comment
    Cat toy v1 by WildlakeLN Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket. Shortcut featur…
  2. Comment
    Please don't frustrate your pet, so do not make it too difficult to find your device. If this game doesn't seem to give any reaction or triggers any interest in the playfulness of your pet, do not force your pet in any unwanted actions. Remember tha…
  3. Comment
    For your safety: No personal information is shared externally. This shortcut uses only native and local shortcuts actions. This shortcut is for entertainment purposes only.
  4. Get Device Details
  5. Set Variable
    Volume
  6. Get Device Details
  7. Set Variable
    Brightness
  8. Show Alert
    Let's play hide and seek
  9. Choose from Menu
    For how long does the game needs to play?
  10. Choose from Menu
    1 Minute
  11. Number
  12. Choose from Menu
    2 Minutes
  13. Number
  14. Choose from Menu
    5 Minutes
  15. Number
  16. Choose from Menu
    10 Minutes
  17. Number
  18. Text
  19. Set Variable
    Instruction
  20. Choose from Menu
    Choose a sound:
  21. Choose from Menu
    Bird sounds
  22. Show Alert
    Start game with bird sounds 🐦
  23. Wait
  24. Set Low Power Mode
  25. Set Volume
  26. Set Brightness
  27. Repeat
  28. Text
  29. Base64 Encode
  30. Play Sound
  31. Choose from Menu
    Cat sounds
  32. Show Alert
    Start game with cat sounds 🐱
  33. Wait
  34. Set Low Power Mode
  35. Set Volume
  36. Set Brightness
  37. Repeat
  38. Text
  39. Base64 Encode
  40. Play Sound
  41. Choose from Menu
    Mice sounds
  42. Show Alert
    Start game with mice sounds 🐭
  43. Wait
  44. Set Low Power Mode
  45. Set Volume
  46. Set Brightness
  47. Repeat
  48. Text
  49. Base64 Encode
  50. Play Sound
  51. Set Volume
  52. Set Brightness
  53. Set Low Power Mode
  54. Show Alert
  55. Run Shortcut
    Cat toy

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/media'
#define mac false
#include 'actions/device'
#define color pink
#define glyph pawPrint

/*
Cat toy v1 by WildlakeLN

Play hide and seek with your pet. Choose a sound and time and quickly hide your device. The sounds trigger your pet into some playful search. Let the hunting begin! Hide your device under a pillow or blanket.

Shortcut features:
- Select a sound
- Choose the playing time
- Restores your volume and brightness after the game has ended. 
*/
// Please don't frustrate your pet, so do not make it too difficult to find your device. If this game doesn't seem to give any reaction or triggers any interest in the playfulness of your pet, do not force your pet in any unwanted actions. Remember that this game doesn't always effect every pet.

// For your safety: No personal information is shared externally. This shortcut uses only native and local shortcuts actions. This shortcut is for entertainment purposes only.

getDeviceDetail("Current Volume")
@Volume = nil
getDeviceDetail("Current Brightness")
@Brightness = nil
alert("Choose a sound and time and hide your device. The sounds will trigger your pet into some playful search.\n\nTip: Hide your device under a blanket or pillow.", "Let's play hide and seek")

const ResultaatMenu = menu "For how long does the game needs to play?" {
item "1 Minute":
item "2 Minutes":
item "5 Minutes":
item "10 Minutes":
}
@Instruction = "Press 'OK' and hide your device, so your pet can go on a hunting trip.\n\nDo not lock your device. You have 10 seconds before the game starts."

menu "Choose a sound:" {
item "Bird sounds":
	alert(@Instruction, "Start game with bird sounds 🐦")
	wait(10)
	setLowPowerMode(false)
	setVolume(1)
	setBrightness(0)
	repeat _ for ResultaatMenu {
		base64Encode(nil)
		playSound(nil)
	}
item "Cat sounds":
	alert(@Instruction, "Start game with cat sounds 🐱")
	wait(10)
	setLowPowerMode(false)
	setVolume(1)
	setBrightness(0)
	repeat _ for ResultaatMenu {
		base64Encode(nil)
		playSound(nil)
	}
item "Mice sounds":
	alert(@Instruction, "Start game with mice sounds 🐭")
	wait(10)
	setLowPowerMode(false)
	setVolume(1)
	setBrightness(0)
	repeat _ for ResultaatMenu {
		base64Encode(nil)
		playSound(nil)
	}
}
setVolume(@Volume)
setBrightness(@Brightness)
setLowPowerMode(false)
alert("Do you want to play again?", "")
runSelf()
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

You Might Also Like

See All
Advertisement