我希望能够使用 AppleScript 以特定顺序将项目添加到提醒列表中。
但是,使用以下脚本,每次运行时都会以不同的顺序添加项目:
set my_reminders to {"item4", "item3", "item2", "item1", "item"}
tell application "Reminders"
tell list "Reminders"
repeat with the_name in my_reminders
set this_reminder to make new reminder with properties {name:the_name as string}
end repeat
end tell
end tell