tell application "Finder"
every file of desktop whose name begins with "C" --你好啊
(*你好
是*)
every file of desktop where name contains "C" #注释
end tell
其中-- 和(* *) 用来注释
-- / # 行尾注释
(* *)块注释 可跨行,可在中间
*没想到简书对AppleScript的markdown语法支持蛮好的*









网友评论