ShareShortcuts

Word Finder

Play Wordle Games Like a Pro!

arirafiq
Dupliquer « Word Finder »

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 arirafiq 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
30K
Enregistré
0
Actions
68
Catégorie
Fun
Version
1.0
Langue
EN

Aperçu

Play Wordle Games Like a Pro!

Nouveautés

Version 1.0

First release

Historique des versions
1.0 19 août 2023

First release

Ce qu’il fait

68 actions
  1. Comment
    Author: Ari Rafiq Note. Answer the questions exactly like the given example.
  2. Ask for Input
    Length? E.g. 5
  3. Ask for Input
    Letters? E.g. abc
  4. Split Text
  5. Combine Text
  6. If
  7. Show Result
  8. Stop This Shortcut
  9. Choose from Menu
  10. Choose from Menu
    Continue
  11. Show Notification
    Generating answers...!
  12. URL
    https://wordfinderx.com/words-for/…/length/…/?dictionary=all_en&extended_fields=true
  13. Get Contents of URL
    …
  14. Make Rich Text from HTML
  15. Match Text
  16. Split Text
  17. Repeat with Each
  18. Match Text
  19. Combine Text
  20. Add to Variable
  21. Show Result
  22. Choose from Menu
    Starts with
  23. Show Notification
    Generating answers...!
  24. Ask for Input
    Starts with? E.g. a
  25. URL
    https://wordfinderx.com/words-for/…/words-start-with/…/length/…/?dictionary=all_en&extended_fields=true
  26. Get Contents of URL
    …
  27. Make Rich Text from HTML
  28. Match Text
  29. Split Text
  30. Repeat with Each
  31. Match Text
  32. Combine Text
  33. Add to Variable
  34. Show Result
  35. Choose from Menu
    Ends with
  36. Show Notification
    Generating answers...!
  37. Ask for Input
    Ends with? E.g. z
  38. URL
    https://wordfinderx.com/words-for/…/words-end-in/…/length/…/?dictionary=all_en&extended_fields=true
  39. Get Contents of URL
    …
  40. Make Rich Text from HTML
  41. Match Text
  42. Split Text
  43. Repeat with Each
  44. Match Text
  45. Combine Text
  46. Add to Variable
  47. Show Result
  48. Choose from Menu
    Starts/Ends with
  49. Show Notification
    Generating answers...!
  50. Ask for Input
    Starts/Ends with? E.g. az
  51. Split Text
  52. Get Item from List
  53. Get Item from List
  54. URL
    https://wordfinderx.com/words-for/…/words-start-with/…/words-end-in/…/length/…/?dictionary=all_en&extended_fields=true
  55. Get Contents of URL
    …
  56. Make Rich Text from HTML
  57. Match Text
  58. Split Text
  59. Repeat with Each
  60. Match Text
  61. Combine Text
  62. Add to Variable
  63. Show Result
  64. Choose from Menu
    Do you want to copy the answers?
  65. Choose from Menu
    Copy
  66. Copy to Clipboard
  67. Choose from Menu
    No thanks!
  68. Nothing

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/web'
#define color blue
#define glyph keyboard

/*
Author: Ari Rafiq
Note. Answer the questions exactly like the given example.
*/
const Length = prompt("Length? E.g. 5", "Number")
const Letters = prompt("Letters? E.g. abc")
const SplitText = splitText(Letters, "")
const Letters1 = joinText(SplitText, "*")

if Letters contains " " {
	show("Do not include spaces!")
	stop()
}

menu nil {
item "Continue":
	showNotification("Generating answers...!", "Please Wait", false)
	url("https://wordfinderx.com/words-for/{Letters1}/length/{Length}/?dictionary=all_en&extended_fields=true")
	const ContentsOfURL = downloadURL(, {})
	getRichTextFromHTML(ContentsOfURL)
	const Matches = containsText(, "(?<=Z - A ).*(?= Enter )")
	const SplitText1 = splitText(Matches, " ")
	for _ in SplitText1 {
		const Matches1 = containsText(@RepeatItem, "[a-zA-Z]", false)
		joinText(Matches1, "Custom")
		@Result
	}
	show(@Result)
item "Starts with":
	showNotification("Generating answers...!", "Please Wait", false)
	const Start = prompt("Starts with? E.g. a")
	url("https://wordfinderx.com/words-for/{Letters1}/words-start-with/{Start}/length/{Length}/?dictionary=all_en&extended_fields=true")
	const ContentsOfURL1 = downloadURL(, {})
	getRichTextFromHTML(ContentsOfURL1)
	const Matches2 = containsText(, "(?<=Z - A ).*(?= Enter )")
	const SplitText2 = splitText(Matches2, " ")
	for _ in SplitText2 {
		const Matches3 = containsText(@RepeatItem, "[a-zA-Z]", false)
		joinText(Matches3, "Custom")
		@Result
	}
	show(@Result)
item "Ends with":
	showNotification("Generating answers...!", "Please Wait", false)
	const End = prompt("Ends with? E.g. z")
	url("https://wordfinderx.com/words-for/{Letters1}/words-end-in/{End}/length/{Length}/?dictionary=all_en&extended_fields=true")
	const ContentsOfURL2 = downloadURL()
	getRichTextFromHTML(ContentsOfURL2)
	const Matches4 = containsText(, "(?<=Z - A ).*(?= Enter )")
	const SplitText3 = splitText(Matches4, " ")
	for _ in SplitText3 {
		const Matches5 = containsText(@RepeatItem, "[a-zA-Z]", false)
		joinText(Matches5, "Custom")
		@Result
	}
	show(@Result)
item "Starts/Ends with":
	showNotification("Generating answers...!", "Please Wait", false)
	const StartsEnds = prompt("Starts/Ends with? E.g. az")
	const SplitText4 = splitText(StartsEnds, "")
	const Starts = getFirstItem(SplitText4)
	const Ends = getRandomItem(SplitText4)
	url("https://wordfinderx.com/words-for/{Letters1}/words-start-with/{Starts}/words-end-in/{Ends}/length/{Length}/?dictionary=all_en&extended_fields=true")
	const ContentsOfURL3 = downloadURL()
	getRichTextFromHTML(ContentsOfURL3)
	const Matches6 = containsText(, "(?<=Z - A ).*(?= Enter )")
	const SplitText5 = splitText(Matches6, " ")
	for _ in SplitText5 {
		const Matches7 = containsText(@RepeatItem, "[a-zA-Z]", false)
		joinText(Matches7, "Custom")
		@Result
	}
	show(@Result)
}

menu "Do you want to copy the answers?" {
item "Copy":
	setClipboard(@Result)
item "No thanks!":
}
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é

Plus de arirafiq

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité