Scanne avec ton iPhone pour installer
ajoute un prix dans le numbers
Nouveautés
Version 1.0
First release
Ce qu’il fait
24 actions-
Split Text
-
Get Item from List
-
Add to Variable
-
Get Item from List
-
Add to Variable
-
Get Item from List
-
Add to Variable
-
Get File
-
Add to Variable
-
Date
-
Ask for InputDate de l’achat ?
-
Add to Variable
-
Get Contents of Folder
-
Choose from List
-
Add to Variable
-
Get File
-
Split Text
-
Choose from List
-
Add to Variable
-
Ask for InputDescription ?
-
Add to Variable
-
Ask for InputMontant ?
-
Add to Variable
-
T Ni O S Add Values To Spreadsheetcom.apple.iWork.Numbers
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/documents'
#include 'actions/calendar'
#define color lightblue
const ScinderLeTexte = splitText(ShortcutInput, "-")
getFirstItem(ScinderLeTexte)
@Anne
getFirstItem(ScinderLeTexte)
@NomMois
getListItem(ScinderLeTexte, 2)
@NumrosMois
getFileFromFolder(, "/{@Anne}.numbers")
@FeuilleAnne
currentDate()
prompt("Date de l’achat ?", "Date")
@Date
const ContenuDuDossier = getFolderContents()
chooseFromList(ContenuDuDossier, "Quelle catégorie ?")
@Catgorie = ['Name']
const Fichier = getFile("/Template/Catégories/{@Catgorie}.txt", false)
const ScinderLeTexte1 = splitText(Fichier)
chooseFromList(ScinderLeTexte1, "Quelle sous-catégorie ?")
@Souscatgorie
prompt("Description ? ")
@Description
prompt("Montant ?", "Number")
@Montant
rawAction("com.apple.iWork.Numbers.TNiOSAddValuesToSpreadsheetIntent", {
"Show-values": true,
"sheetName": "{@NumrosMois} - {@NomMois}",
"spreadsheet": "@FeuilleAnne",
"tableName": "Transactions du mois",
"values": [
{
"Value": {
"attachmentsByRange": {
"{0, 1}": {
"Type": "Variable",
"VariableName": "Date"
}
},
"string": ""
},
"WFSerializationType": "WFTextTokenString"
},
{
"Value": {
"attachmentsByRange": {
"{0, 1}": {
"Type": "Variable",
"VariableName": "Catégorie"
}
},
"string": ""
},
"WFSerializationType": "WFTextTokenString"
},
{
"Value": {
"attachmentsByRange": {
"{0, 1}": {
"Type": "Variable",
"VariableName": "Sous-catégorie"
}
},
"string": ""
},
"WFSerializationType": "WFTextTokenString"
},
{
"Value": {
"attachmentsByRange": {
"{0, 1}": {
"Type": "Variable",
"VariableName": "Description"
}
},
"string": ""
},
"WFSerializationType": "WFTextTokenString"
},
{
"Value": {
"attachmentsByRange": {
"{0, 1}": {
"Type": "Variable",
"VariableName": "Montant"
}
},
"string": ""
},
"WFSerializationType": "WFTextTokenString"
}
]
})
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de paulo83
Ça pourrait aussi te plaire
Publicité