ShareShortcuts

💸💸 BONNEKES 💸💸

lesmecs's bonnekes app

lesmecs
Fork “💸💸 BONNEKES 💸💸”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so lesmecs gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
18K
Saved
1
Actions
72
Category
API
Version
1.0
Language
EN

lesmecs's bonnekes app

What's New

Version 1.0

First release

Version History
1.0 Nov 26, 2024

First release

What it does

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
    …

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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}"
})
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Advertisement

You Might Also Like

See All
Advertisement