ShareShortcuts

Cat toy

Play hide and seek with your pet

„Cat toy“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit den ursprünglichen Ersteller die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
73K
Gesichert
0
Aktionen
55
Kategorie
Fun
Version
1.0
Sprache
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.

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 2. Nov 2018

First release

Was er macht

55 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Werbung

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung