App Store Region
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
1m99Scan with your iPhone to install
This shortcut can switch the regions of the App Store and move them to sharecuts.cn
What's New
Version 1.0
First release
What it does
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
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 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()
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