ShareShortcuts

Cat toy

Play hide and seek with your pet

Dupliquer « Cat toy »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que le créateur d’origine soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
73K
Enregistré
0
Actions
55
Catégorie
Fun
Version
1.0
Langue
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.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 2 nov. 2018

First release

Ce qu’il fait

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

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#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()
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Ça pourrait aussi te plaire

Tout afficher
Publicité