ShareShortcuts

Checka In/Ut

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

selander
„Checka In/Ut“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit selander die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
55K
Gesichert
1
Aktionen
51
Kategorie
API
Version
1.1
Sprache
EN

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

Neue Funktionen

Version 1.1

Ändrat

Versionsverlauf
1.1 29. Okt 2020

Ändrat

1.0 28. Okt 2020

First release

Was er macht

51 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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()
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

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

Werbung

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung