Scan with your iPhone to install
Welcome To HCalculator! This is a little calculator shortcut i made during school. Enjoy!
What's New
Version 1.1
added new icon lol
What it does
33 actions-
Dictionary
-
Run Shortcut
-
Ask for Inputfirst number?
-
Ask for Inputsecond number?
-
Choose from Menuwhat operation?
-
Choose from MenuAdd
-
Calculate
-
Show Result
-
Choose from Menumake note?
-
Choose from Menuyes
-
Create Note
-
Choose from Menuno
-
Choose from MenuSubtract
-
Calculate
-
Show Result
-
Choose from Menumake note?
-
Choose from Menuyes
-
Create Note
-
Choose from Menuno
-
Choose from MenuMultiply
-
Calculate
-
Show Result
-
Choose from Menumake note?
-
Choose from Menuyes
-
Create Note
-
Choose from Menuno
-
Choose from MenuDivide
-
Calculate
-
Show Result
-
Choose from Menumake note?
-
Choose from Menuyes
-
Create Note
-
Choose from Menuno
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color orange
#define glyph calculator
const Dictionary = {
"Name": "Homemade Calculator",
"Shareid": 1522,
"Version": "1.0"
}
runSelf(Dictionary)
const ProvidedInput = prompt("first number?", "Number")
const ProvidedInput1 = prompt("second number?", "Number")
menu "what operation?" {
item "Add":
show()
menu "make note?" {
item "yes":
rawAction("com.apple.mobilenotes.SharingExtension", {
"ShowWhenRun": false,
"WFCreateNoteInput": "{}",
"WFNoteGroup": "Ask: \"which folder do you want the note to be in?\""
})
item "no":
}
item "Subtract":
show()
menu "make note?" {
item "yes":
rawAction("com.apple.mobilenotes.SharingExtension", {
"ShowWhenRun": false,
"WFCreateNoteInput": "{}",
"WFNoteGroup": "Ask: \"which folder do you want the note to be in?\""
})
item "no":
}
item "Multiply":
show()
menu "make note?" {
item "yes":
rawAction("com.apple.mobilenotes.SharingExtension", {
"ShowWhenRun": false,
"WFCreateNoteInput": "{}",
"WFNoteGroup": "Ask: \"which folder do you want the note to be in?\""
})
item "no":
}
item "Divide":
show()
menu "make note?" {
item "yes":
rawAction("com.apple.mobilenotes.SharingExtension", {
"ShowWhenRun": false,
"WFCreateNoteInput": "{}",
"WFNoteGroup": "Ask: \"which folder do you want the note to be in?\""
})
item "no":
}
}
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
More by mayoomisauce
You Might Also Like
Advertisement