Scan with your iPhone to install
Skapa påminnelser när du använder in och utcheckning på jobbet
What's New
Version 1.1
Ändrat
What it does
51 actions-
Create Folder
-
Get File
-
Get Name
-
Count
-
Choose from Menu
-
Choose from MenuLägg till en ny adress
-
Scan QR/Barcode
-
Get URLs from Input
-
Get Contents of Web Page
-
If
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Text
-
Ask for InputVilken adress är du på?
-
Save File
-
Street Address
-
Add New Reminder
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuChecka in
-
If
-
Choose from List
-
If
-
Text
-
Get File
-
Get URLs from Input
-
Get Details of Files
-
Street Address
-
Add New Reminder
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuChecka ut
-
If
-
Choose from List
-
If
-
Text
-
Get File
-
Get URLs from Input
-
Get Details of Files
-
Street Address
-
Add New Reminder
-
Open URLs
-
Stop This Shortcut
-
Choose from MenuRadera gammalt projekt
-
Choose from List
-
Get File
-
Show Alert
-
Delete Files
-
Stop This Shortcut
View as code
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
Advertisement