自动闹钟 v1.11.1 (只支持iOS 17)
DATE
Date
DICTIONARY
Dictionary
List
LIST
09:35
List
List
DICTIONARY
Dictionary
DICTIONARY
Dictionary
DICTIONARY
Dictionary
DICTIONARY
Dictionary
VARIABLES
Set variable
config
to
词典
VARIABLES
Set variable
workingTimeInput
to
列表
VARIABLES
Set variable
offdayTimeInput
to
列表
VARIABLES
Set variable
offdaySelect
to
列表
TEXT
Text
VARIABLES
Set variable
holidaySwitch
to
文本
VARIABLES
Set variable
name
to
config
VARIABLES
Set variable
version
to
config
VARIABLES
Set variable
workingPrefix
to
config
VARIABLES
Set variable
offdayPrefix
to
config
VARIABLES
Set variable
path
to
config
VARIABLES
Set variable
site
to
config
TEXT
Text
VARIABLES
Set variable
sleepAlarm
to
文本
TEXT
Text
VARIABLES
Set variable
updateCheck
to
文本
VARIABLES
Set variable
workingKeyword
to
config
VARIABLES
Set variable
offdayKeyword
to
config
VARIABLES
VARIABLES
VARIABLES
Add
workingTimeInput
to
inputArray
TEXT
Match
(?:[01]\d|2[0-3]):[0-5]\d
in
workingTimeInput
Matches
VARIABLES
Set variable
workingTimeRight
to
匹配
VARIABLES
Add
匹配
to
rightArray
VARIABLES
Add
offdayTimeInput
to
inputArray
TEXT
Match
(?:[01]\d|2[0-3]):[0-5]\d
in
offdayTimeInput
Matches
VARIABLES
Set variable
offdayTimeRight
to
匹配
VARIABLES
Add
匹配
to
rightArray
VARIABLES
Add
offdaySelect
to
inputArray
TEXT
Match
周[一二三四五六日]
in
offdaySelect
Matches
VARIABLES
Add
匹配
to
rightArray
SCRIPTING
Count
Items
in
inputArray
Count
SCRIPTING
Count
Items
in
rightArray
Count
SCRIPTING
TEXT
Text
SCRIPTING
Repeat with each item in
workingTimeInput
Repeat Results
SCRIPTING
If
文本
does not contain
Repeat Item
TEXT
工作日闹钟/第
Repeat Item
项
Repeat Index
✖️ 时间格式错误
Text
VARIABLES
Add
文本
to
workingTimeError
If Result
Repeat Results
TEXT
Text
SCRIPTING
Repeat with each item in
offdayTimeInput
Repeat Results
SCRIPTING
If
文本
does not contain
Repeat Item
TEXT
休息日闹钟/第
Repeat Item
项
Repeat Index
✖️ 时间格式错误
Text
VARIABLES
Add
文本
to
offdayTimeError
If Result
Repeat Results
TEXT
Text
SCRIPTING
Repeat with each item in
offdaySelect
Repeat Results
SCRIPTING
If
文本
does not contain
Repeat Item
TEXT
休息日/第
Repeat Index
项
Repeat Item
✖️ 格式错误
Text
VARIABLES
Add
文本
to
offdaySelectError
If Result
Repeat Results
VARIABLES
Add
workingTimeError
to
allError
VARIABLES
Add
offdayTimeError
to
allError
VARIABLES
Add
offdaySelectError
to
allError
TEXT
allError
请按格式重新填写
Text
NOTIFICATIONS
Show notification
文本
Options Under Construction
NOTHING
If Result
SCRIPTING
If
sleepAlarm
contains
false
SCRIPTING
If
rightArray
does not have any value
SCRIPTING
SCRIPTING
Exit shortcut with
Result
If Result
If Result
VARIABLES
Set variable
workingList
to
workingTimeRight
VARIABLES
Set variable
offdayList
to
offdayTimeRight
DOCUMENTS
File
VARIABLES
Set variable
getFile
to
文件
SCRIPTING
Get dictionary from
getFile
Dictionary
VARIABLES
Set variable
exitingConfig
to
词典
SCRIPTING
If
getFile
does not have any value
NUMBER
Number
VARIABLES
Set variable
actionCount
to
数字
Showcuts