AppleScript 注释

2019-04-22  本文已影响0人  严青_

tell application "Finder"
    every file of desktop whose name begins with "C"  --你好啊
        (*你好
    是*)
        every file of desktop where name contains "C" #注释
end tell

其中--(* *) 用来注释
-- / # 行尾注释
(* *)块注释 可跨行,可在中间

*没想到简书对AppleScript的markdown语法支持蛮好的*

上一篇 下一篇

猜你喜欢

热点阅读