ShareShortcuts
Fork “Leltár Beta”

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 kelemen 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
39K
Saved
0
Actions
27
Category
API
Version
1.0
Language
EN

What's New

Version 1.0

First release

Version History
1.0 Sep 2, 2022

First release

What it does

27 actions
  1. Choose from Menu
  2. Choose from Menu
    Magyar / Hungarian
  3. Text
  4. Set Variable
    Hun
  5. Show Notification
    A(z) Magyar nyelv kiválasztva!
  6. Choose from Menu
    Angol / English
  7. Text
  8. Set Variable
    Eng
  9. Show Notification
    A(z) Angol nyelv kiválasztva!
  10. Choose from Menu
  11. Choose from Menu
    32 gsm
  12. Choose from Menu
    40 gsm
  13. Choose from Menu
    45 gsm
  14. Ask for Input
    Choose number
  15. Choose from Menu
  16. Choose from Menu
    32 gramm
  17. Choose from Menu
    40 gramm
  18. Ask for Input
    Válassz számot
  19. Calculate
  20. Calculate
  21. Format Number
  22. Show Notification
    …
  23. Choose from Menu
    45 gramm
  24. Choose from Menu
    50 gramm
  25. Choose from Menu
    60 gramm
  26. Choose from Menu
    50 gsm
  27. Choose from Menu
    60 gsm

View as code
Beta

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

#define color blue


menu nil {
item "Magyar / Hungarian":
	@Hun = "A magyar nyelv kiválasztva!"
	showNotification("A(z) Magyar nyelv kiválasztva!", false, @Hun)
item "Angol / English":
	@Eng = "A angol nyelv kiválasztva!"
	showNotification("A(z) Angol nyelv kiválasztva!", false, @Eng)
	menu nil {
	item "32 gsm":
	item "40 gsm":
	item "45 gsm":
		prompt("Choose number ", "Number")
		menu nil {
		item "32 gramm":
		item "40 gramm":
			const MegadottBemenet = prompt("Válassz számot")
			const SzmtsEredmnye = 1000 / 5,2
			const SzmtsEredmnye1 = SzmtsEredmnye * MegadottBemenet
			const FormzottSzm = formatNumber(SzmtsEredmnye1)
			showNotification(FormzottSzm, FormzottSzm)
		item "45 gramm":
		item "50 gramm":
		item "60 gramm":
		}
	item "50 gsm":
	item "60 gsm":
	}
}
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