ShareShortcuts

Fortune Cookie

This fun shortcut will break open a virtual cookie and will give you a phrase or fortune

Dupliquer « Fortune Cookie »

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
74K
Enregistré
1
Actions
17
Catégorie
Fun
Version
1.0
Langue
EN

Aperçu

This fun shortcut will break open a virtual cookie and will give you a phrase or fortune. You can also generate your lucky number.

Nouveautés

Version 1.0

First release

Historique des versions
1.0 16 oct. 2018

First release

Ce qu’il fait

17 actions
  1. Comment
    Fortune Cookie v1.0 by WildlakeLN This fun shortcut will break open a virtual cookie and will give you a phrase or fortune. You can also generate your lucky number. Features: • Different phrases and fortunes • Lucky number generator • Sound effects …
  2. Text
  3. Set Variable
    Name
  4. Show Alert
    Hello …, here is your cookie:
  5. List
  6. Get Item from List
  7. Vibrate Device
  8. Text
  9. Base64 Encode
  10. Play Sound
  11. Show Alert
    …
  12. List
  13. Get Item from List
  14. Text
  15. Base64 Encode
  16. Play Sound
  17. Show Result

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 yellow
#define glyph flower

/*
Fortune Cookie v1.0 by WildlakeLN

This fun shortcut will break open a virtual cookie and will give you a phrase or fortune. You can also generate your lucky number. 

Features:
• Different phrases and fortunes
• Lucky number generator 
• Sound effects
• Unicode text fonts
• Special ‘Apple Inc.’ themed phrases
• One time setup for personalised messages
*/
@Name = ""
alert("🥠\n\nPress 'OK' to crack open your fortune cookie and read what's inside.", "Hello {@Name}, here is your cookie:")
list("𝐖𝐡𝐞𝐧 𝐲𝐨𝐮 𝐝𝐫𝐢𝐧𝐤 𝐭𝐡𝐞 𝐰𝐚𝐭𝐞𝐫, 𝐫𝐞𝐦𝐞𝐦𝐛𝐞𝐫 𝐭𝐡𝐞 𝐬𝐩𝐫𝐢𝐧𝐠.", "𝘼𝙣 𝘼𝙥𝙥𝙡𝙚 𝙖 𝙙𝙖𝙮, 𝙠𝙚𝙚𝙥𝙨 𝙮𝙤𝙪𝙧 𝙞𝙋𝙝𝙤𝙣𝙚 𝙖𝙬𝙖𝙮.", "𝐋𝐨𝐯𝐞 𝐢𝐬 𝐫𝐢𝐠𝐡𝐭 𝐚𝐫𝐨𝐮𝐧𝐝 𝐭𝐡𝐞 𝐜𝐨𝐫𝐧𝐞𝐫, 𝐬𝐨 𝐭𝐚𝐤𝐞 𝐚 𝐥𝐨𝐨𝐤!", "𝙋𝙪𝙧𝙨𝙪𝙚 𝙮𝙤𝙪𝙧 𝙙𝙧𝙚𝙖𝙢𝙨 𝙬𝙞𝙩𝙝 𝙫𝙞𝙜𝙤𝙧.", "𝐖𝐡𝐞𝐧 𝐢𝐧 𝐝𝐨𝐮𝐛𝐭, 𝐝𝐨𝐧’𝐭.", "𝙇𝙤𝙤𝙠 𝙞𝙣 𝙩𝙝𝙚 𝙢𝙞𝙧𝙧𝙤𝙧 𝙬𝙞𝙩𝙝𝙤𝙪𝙩 𝙖𝙙𝙢𝙞𝙧𝙞𝙣𝙜 𝙮𝙤𝙪𝙧 𝙧𝙚𝙛𝙡𝙚𝙘𝙩𝙞𝙤𝙣.", "𝐋𝐞𝐚𝐝 𝐛𝐲 𝐞𝐱𝐚𝐦𝐩𝐥𝐞, 𝐧𝐨𝐭 𝐛𝐲 𝐰𝐨𝐫𝐝𝐬 𝐚𝐥𝐨𝐧𝐞.", "𝙏𝙝𝙚 𝘼𝙥𝙥𝙡𝙚 𝙣𝙚𝙫𝙚𝙧 𝙛𝙖𝙡𝙡𝙨 𝙛𝙖𝙧 𝙛𝙧𝙤𝙢 𝙩𝙝𝙚 𝙩𝙧𝙚𝙚.", "𝕀𝕥 𝕞𝕒𝕪 𝕓𝕖 𝕕𝕚𝕗𝕗𝕚𝕔𝕦𝕝𝕥, 𝕓𝕦𝕥 𝕚𝕥 𝕨𝕚𝕝𝕝 𝕓𝕖 𝕨𝕠𝕣𝕥𝕙 𝕚𝕥 𝕚𝕟 𝕥𝕙𝕖 𝕖𝕟𝕕.", "A̳ ̳t̳h̳o̳u̳s̳a̳n̳d̳ ̳m̳i̳l̳e̳ ̳t̳r̳i̳p̳ ̳b̳e̳g̳i̳n̳s̳ ̳w̳i̳t̳h̳ ̳o̳n̳e̳ ̳s̳t̳e̳p̳.", "𝕋𝕠𝕕𝕒𝕪 𝕚𝕤 𝕥𝕙𝕖 𝕥𝕚𝕞𝕖 𝕥𝕠 𝕓𝕖 𝕡𝕒𝕣𝕥 𝕠𝕗 𝕥𝕙𝕖 𝕤𝕠𝕝𝕦𝕥𝕚𝕠𝕟 𝕚𝕟𝕤𝕥𝕖𝕒𝕕 𝕠𝕗 𝕥𝕙𝕖 𝕡𝕣𝕠𝕓𝕝𝕖𝕞. ℙ𝕚𝕔𝕜 𝕦𝕡 𝕪𝕠𝕦𝕣𝕤𝕖𝕝𝕗 𝕒𝕟𝕕 𝕘𝕖𝕥 𝕥𝕠 𝕒𝕔𝕥𝕚𝕠𝕟.", "F̳o̳c̳u̳s̳ ̳o̳n̳ ̳w̳h̳a̳t̳ ̳i̳s̳ ̳t̳r̳u̳l̳y̳ ̳i̳m̳p̳o̳r̳t̳a̳n̳t̳ ̳t̳o̳ ̳y̳o̳u̳. ̳T̳h̳i̳s̳ ̳f̳o̳c̳u̳s̳ ̳w̳i̳l̳l̳ ̳m̳a̳k̳e̳ ̳y̳o̳u̳ ̳s̳t̳r̳o̳n̳g̳e̳r̳ ̳a̳n̳d̳ ̳o̳t̳h̳e̳r̳s̳ ̳w̳i̳l̳l̳ ̳r̳e̳s̳p̳e̳c̳t̳ ̳y̳o̳u̳ ̳f̳o̳r̳ ̳c̳h̳o̳o̳s̳i̳n̳g̳ ̳f̳o̳r̳ ̳y̳o̳u̳r̳s̳e̳l̳f̳.", "𝕃𝕚𝕤𝕥𝕖𝕟 𝕥𝕠 𝕪𝕠𝕦𝕣 𝕚𝕟𝕤𝕥𝕚𝕟𝕔𝕥. ℂ𝕦𝕝𝕥𝕚𝕧𝕒𝕥𝕖 𝕡𝕠𝕤𝕚𝕥𝕚𝕧𝕖 𝕥𝕙𝕠𝕦𝕘𝕙𝕥𝕤 𝕒𝕟𝕕 𝕥𝕙𝕚𝕟𝕘𝕤 𝕨𝕚𝕝𝕝 𝕨𝕠𝕣𝕜 𝕠𝕦𝕥 𝕒𝕤 𝕘𝕠𝕠𝕕 𝕒𝕤 𝕥𝕙𝕖𝕪 𝕔𝕒𝕟.", "T̳h̳i̳s̳ ̳t̳e̳c̳h̳n̳o̳l̳o̳g̳i̳c̳a̳l̳ ̳m̳a̳s̳t̳e̳r̳p̳i̳e̳c̳e̳ ̳c̳o̳u̳l̳d̳ ̳b̳e̳ ̳t̳h̳e̳ ̳A̳p̳p̳l̳e̳ ̳o̳f̳ ̳y̳o̳u̳r̳ ̳e̳y̳e̳.", "𝕁𝕦𝕤𝕥 𝕕𝕠 𝕚𝕥! 𝕐𝕠𝕦 𝕠𝕟𝕝𝕪 𝕝𝕚𝕧𝕖 𝕠𝕟𝕔𝕖.", "N̳e̳v̳e̳r̳ ̳f̳o̳r̳g̳e̳t̳, ̳“A̳” ̳i̳s̳ ̳f̳o̳r̳ ̳A̳p̳p̳l̳e̳. ̳Y̳o̳u̳ ̳w̳i̳l̳l̳ ̳e̳n̳j̳o̳y̳ ̳t̳h̳e̳ ̳f̳u̳t̳u̳r̳e̳.", "𝕎𝕙𝕖𝕟 𝕥𝕙𝕖𝕣𝕖’𝕤 𝕒 𝕨𝕚𝕝𝕝, 𝕥𝕙𝕖𝕣𝕖’𝕤 𝕒 𝕨𝕒𝕪!", "𝚂𝚙𝚊𝚛𝚎𝚍 𝚗𝚘 𝚎𝚡𝚙𝚎𝚗𝚜𝚎.", "Oops {@Name} Looks like you have an empty cookie. Try again. ")
getListItems(nil, 0, 0)
vibrate()
base64Encode(nil)
playSound(nil)
alert("\nDo you also want your lucky number?")
list("0️⃣", "1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣", "🔟", "💯")
getFirstItem(nil)
base64Encode(nil)
playSound(nil)
show("Your lucky number from this cookie is:\n\n{}\n\nGood luck, {@Name}")
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
17 oct. 2018
danielbahl

Funny :) Thanks for sharing!

Publicité

Ça pourrait aussi te plaire

Tout afficher
Publicité