ShareShortcuts

Cat toy

Play hide and seek with your pet

Fork “Cat toy”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så den oprindelige skaber får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
73K
Gemt
0
Handlinger
55
Kategori
Sjov
Version
1.0
Sprog
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.

Nyheder

Version 1.0

First release

Versionshistorik
1.0 2. nov. 2018

First release

Hvad den gør

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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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()
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Du vil måske også kunne lide

Se alle
Annonce