ShareShortcuts

Checka In/Ut

Skapa påminnelser när du använder in och utcheckning på jobbet

selander
Fork “Checka In/Ut”

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 selander 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
55K
Saved
1
Actions
51
Category
API
Version
1.1
Language
EN

Skapa påminnelser när du använder in och utcheckning på jobbet

What's New

Version 1.1

Ändrat

Version History
1.1 Oct 29, 2020

Ändrat

1.0 Oct 28, 2020

First release

What it does

51 actions
  1. Create Folder
  2. Get File
  3. Get Name
  4. Count
  5. Choose from Menu
  6. Choose from Menu
    Lägg till en ny adress
  7. Scan QR/Barcode
  8. Get URLs from Input
  9. Get Contents of Web Page
  10. If
  11. Split Text
  12. Get Item from List
  13. Split Text
  14. Get Item from List
  15. Text
  16. Ask for Input
    Vilken adress är du på?
  17. Save File
  18. Street Address
  19. Add New Reminder
  20. Open URLs
  21. Stop This Shortcut
  22. Choose from Menu
    Checka in
  23. If
  24. Choose from List
  25. If
  26. Text
  27. Get File
  28. Get URLs from Input
  29. Get Details of Files
  30. Street Address
  31. Add New Reminder
  32. Open URLs
  33. Stop This Shortcut
  34. Choose from Menu
    Checka ut
  35. If
  36. Choose from List
  37. If
  38. Text
  39. Get File
  40. Get URLs from Input
  41. Get Details of Files
  42. Street Address
  43. Add New Reminder
  44. Open URLs
  45. Stop This Shortcut
  46. Choose from Menu
    Radera gammalt projekt
  47. Choose from List
  48. Get File
  49. Show Alert
  50. Delete Files
  51. Stop This Shortcut

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/documents'
#define color teal
#define glyph tools

createFolder("QR/")
const Fil = getFile("QR/", false)
const Namn = getName(Fil)
const Antal = count(Namn)

menu nil {
item "Lägg till en ny adress":
	rawAction("is.workflow.actions.scanbarcode", {})
	getURLs(QRstreckkod)
	const InnehllPWebbsida = getWebpageContents()
	if InnehllPWebbsida contains "556426-9537" {
		const DelaText = splitText(InnehllPWebbsida, "556426-9537 ")
		const ObjektFrnLista = getListItem(DelaText, 2)
		const DelaText1 = splitText(ObjektFrnLista)
		getFirstItem(DelaText1)
	}
	const Text = "{}"
	prompt("Vilken adress är du på?")
	saveFile("QR/{}.txt", Text, true)
	const Gatuadress = streetAddress(, "", "", "Stockholm", "", 0)
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCondition": "When I Leave",
		"WFAlertEnabled": "Alert",
		"WFAlertLocation": "Gatuadress",
		"WFAlertLocationRadius": "",
		"WFCalendarItemTitle": "Checka ut"
	})
	openURL(QRstreckkod)
	stop()
item "Checka in":
	if Antal > 1 {
		chooseFromList(Namn)
	} else {
	}
	const Fil1 = getFile("QR/{}.txt")
	const URLer = getURLs(Fil1)
	getFileDetail(nil, "Name")
	const Gatuadress1 = streetAddress(, "", "", "Stockholm", "", 0)
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCondition": "When I Leave",
		"WFAlertEnabled": "Alert",
		"WFAlertLocation": "Gatuadress1",
		"WFAlertLocationRadius": "",
		"WFCalendarItemCalendar": "Jobb",
		"WFCalendarItemTitle": "Checka ut {}"
	})
	openURL(URLer)
	stop()
item "Checka ut":
	if Antal > 1 {
		chooseFromList(Namn, "")
	} else {
	}
	const Fil1 = getFile("QR/{}.txt")
	const URLer = getURLs(Fil1)
	getFileDetail(nil, "Name")
	const Gatuadress2 = streetAddress(, "", "", "Stockholm", "", 0)
	rawAction("is.workflow.actions.addnewreminder", {
		"WFAlertCondition": "When I Arrive",
		"WFAlertEnabled": "Alert",
		"WFAlertLocation": "Gatuadress2",
		"WFCalendarItemCalendar": "Jobb",
		"WFCalendarItemTitle": "Checka in {}"
	})
	openURL(URLer)
	stop()
item "Radera gammalt projekt":
	chooseFromList(Namn)
	const Fil1 = getFile("QR/{}.txt")
	confirm("Vill du radera {}?")
	deleteFiles(Fil1)
	stop()
}
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