Scan with your iPhone to install
把取得的json檔寫入指定路徑,並生成一個索引檔案。
What's New
Version 1.0
First release
What it does
15 actions-
Create Folder
-
Get File
-
Delete Files
-
Choose from Menu檔案所在位置
-
Choose from MenuiCloud
-
Get File
-
Get Details of Files
-
Choose from MenuDropbox
-
Get File
-
Get Details of Files
-
Text
-
Append to Text File
-
Save File
-
Save File
-
Show Alert已載入檔案
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'
createFolder("學生名單json/")
const = getFile("學生名單json/檔名列表.txt", false)
deleteFiles()
menu "檔案所在位置" {
item "iCloud":
const 1 = getFile("")
const 2 = getFileDetail(nil, "Name")
item "Dropbox":
const 3 = getFile("")
const 4 = getFileDetail(nil, "Name")
}
const 5 = "{}"
const 6 = appendToFile("學生名單json/檔名列表.txt", 5)
saveFile("學生名單json/檔名列表.txt", 6, true)
saveFile("學生名單json/", 1, true)
alert("此捷徑無需再執行", "已載入檔案")
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