ShareShortcuts

💸💸 BONNEKES 💸💸

lesmecs's bonnekes app

lesmecs
Dupliquer « 💸💸 BONNEKES 💸💸 »

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 lesmecs 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
18K
Enregistré
1
Actions
72
Catégorie
API
Version
1.0
Langue
EN

lesmecs's bonnekes app

Nouveautés

Version 1.0

First release

Historique des versions
1.0 26 nov. 2024

First release

Ce qu’il fait

72 actions
  1. Get File
  2. If
  3. Ask for Input
    Wat is je e-mail adres? (Gebruikt in Mail App)
  4. Text
  5. Save File
  6. If
  7. If
  8. If
  9. Choose from Menu
    IT veronderstelt een factuur.
  10. Choose from Menu
    Yes, stuur naar Exact
  11. Send Email
  12. Stop This Shortcut
  13. Choose from Menu
    Yes, ik wil de PO toevoegen
  14. Set Variable
    Factuurtje
  15. Trello Get
  16. Choose from List
  17. Set Variable
    PO
  18. Make Rich Text from HTML
  19. Overlay Text
  20. Convert Image
  21. Send Email
  22. Stop This Shortcut
  23. Choose from Menu
    Neen, is bonnetje
  24. If
  25. Set Variable
    ImageToCaption
  26. If
  27. Take Photo
  28. Set Variable
    ImageToCaption
  29. If
  30. Convert Image
  31. Set Variable
    ImageToCaption
  32. If
  33. Ask for Input
    Kwanta Kosta?
  34. Set Variable
    amount
  35. Text
  36. Split Text
  37. Choose from List
  38. Set Variable
    Kind
  39. If
  40. Ask for Input
    Please specify
  41. Set Variable
    Kind
  42. If
  43. Trello Get
  44. Choose from List
  45. Set Variable
    PO
  46. Make Rich Text from HTML
  47. If
  48. Choose from Menu
    Welke aflevering?
  49. Choose from Menu
    One
  50. Text
  51. Set Variable
    episode
  52. Choose from Menu
    Two
  53. Text
  54. Set Variable
    episode
  55. Choose from Menu
    Three
  56. Text
  57. Set Variable
    episode
  58. Choose from Menu
    Four
  59. Text
  60. Set Variable
    episode
  61. Choose from Menu
    Five
  62. Text
  63. Set Variable
    episode
  64. Choose from Menu
    Six
  65. Text
  66. Set Variable
    episode
  67. If
  68. Overlay Text
  69. Convert Image
  70. Send Email
  71. URL
    https://hooks.zapier.com/hooks/catch/14282040/3mv35u8/
  72. Get Contents of URL
    …

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/sharing'
#include 'actions/documents'
#define color green
#define glyph ticket

const File = getFileFromFolder(, "lm-setup.txt", false)

if !File {
	prompt("Wat is je e-mail adres? (Gebruikt in Mail App)")
	const Text = "{}"
	const SavedFile = saveFile("lm-setup.txt", Text)
} else {
}

if ShortcutInput {
	if ShortcutInput == "pdf" {
		menu "IT veronderstelt een factuur. " {
		item "Yes, stuur naar Exact":
			sendEmail(, "", "Factuurtje", ShortcutInput, false)
			stop()
		item "Yes, ik wil de PO toevoegen":
			@Factuurtje = ShortcutInput
			rawAction("is.workflow.actions.trello.get", {
				"WFTrelloBoard": "",
				"WFTrelloItemType": "Cards",
				"WFTrelloList": "Ask"
			})
			@PO = chooseFromList(TrelloItems, "Over welk project gaat het? ")
			getRichTextFromHTML(@PO)
			rawAction("is.workflow.actions.overlaytext", {
				"WFFont": "",
				"WFImage": "@Factuurtje",
				"WFPercentageFontSize": 0.020993307362432066,
				"WFPercentageTextBoxWidth": 1,
				"WFPercentageTextOffset": 0.05148342,
				"WFText": "{@PO}",
				"WFTextColor": "",
				"WFTextOutlineEnabled": true,
				"WFTextPosition": "Bottom Center",
				"WFTextRotation": "0",
				"WFTextStrokeColor": ""
			})
			convertImage(ImageWithText, "PDF")
			sendEmail(, "", @PO, false)
			stop()
		item "Neen, is bonnetje":
		}
	} else {
		@ImageToCaption = ShortcutInput
	}
} else {
	@ImageToCaption = takePhoto(1, true)
}

if @ImageToCaption != "jpeg" {
	convertImage(@ImageToCaption, "", 1)
	@ImageToCaption
} else {
}
prompt("Kwanta Kosta?", "Number")
@amount
const Text1 = "Catering\nTransport\nArt Direction \nOther"
const SplitText = splitText(Text1)
chooseFromList(SplitText, "What kinda spending?")
@Kind

if @Kind == "Other" {
	prompt("Please specify")
	@Kind
} else {
}
rawAction("is.workflow.actions.trello.get", {
	"WFTrelloBoard": "",
	"WFTrelloItemType": "Cards",
	"WFTrelloList": "Ask"
})
@PO = chooseFromList(TrelloItems1, "Over welk project gaat het? ")
const RichTextFromHTML = getRichTextFromHTML(@PO)

if RichTextFromHTML beginsWith "23034" {
	menu "Welke aflevering?" {
	item "One":
		@episode = "ep01"
	item "Two":
		@episode = "ep02"
	item "Three":
		@episode = "ep03"
	item "Four":
		@episode = "ep04"
	item "Five":
		@episode = "ep05"
	item "Six":
		@episode = "ep06"
	}
} else {
}
rawAction("is.workflow.actions.overlaytext", {
	"WFFont": "",
	"WFFontSize": "36",
	"WFImage": "@ImageToCaption",
	"WFPercentageFontSize": 0.02272285793138587,
	"WFPercentageTextBoxWidth": 1,
	"WFPercentageTextOffset": 0.01657938,
	"WFSizingMethod": "Proportional",
	"WFText": "{@PO}",
	"WFTextAlignment": "Center",
	"WFTextBoxWidth": "",
	"WFTextColor": "",
	"WFTextOutlineEnabled": true,
	"WFTextPosition": "Bottom Center",
	"WFTextRotation": "0"
})
convertImage(ImageWithText1, "PDF")
sendEmail(, "", "{@amount}_{@PO}_{@Kind}_{CurrentDate}", false)
url("https://hooks.zapier.com/hooks/catch/14282040/3mv35u8/")
jsonRequest(, "POST", {
	"amount": "{@amount}",
	"date": "{CurrentDate}",
	"kind": "{@Kind}",
	"po": "{@PO}"
})
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é