App Store Region
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
1m99Scanne avec ton iPhone pour installer
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
Nouveautés
Version 1.0
First release
Ce qu’il fait
16 actions-
CommentApp Store Region Switcher by Neurogram - Support 155 regions - Support customizable regions - Support Emoji displaying - Support language setting (cn, en)
-
List
-
Dictionary
-
Repeat
-
Combine Text
-
Text
-
URLdata:text/html;charset=utf-8,<script>…</script>
-
Gettypeaction
-
Get Text from Input
-
If
-
Get Dictionary from Input
-
Choose from List
-
Set Variableregion
-
If
-
Open URLs
-
Stop and Output
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.
#define color darkblue
#define glyph circledA
/*
App Store Region Switcher by Neurogram
- Support 155 regions
- Support customizable regions
- Support Emoji displaying
- Support language setting (cn, en)
*/
const List = list("CN", "HK", "JP", "KR", "US")
repeat _ for 2 {
joinText(List, "\n")
const URL = url("data:text/html;charset=utf-8,<script>{}</script>")
rawAction("is.workflow.actions.gettypeaction", {
"WFFileType": "com.apple.webarchive",
"WFInput": "URL"
})
const Text = getText(FileOfType)
if @RepeatIndex == 1 {
const Dictionary = getDictionary(Text)
chooseFromList(Dictionary)
@region
} else {
openURL(Text)
}
}
output()
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é
Ça pourrait aussi te plaire
Publicité