Applescript 'string id' 是如何工作的



文档指出string id {104, 101, 108, 108, 111}是"hello"。但是当我使用时:

log (string id {104, 101, 108, 108, 111})

然后打印输出是«(*字符串104, 101, 108, 108, 111*)"而不是"你好"。我哪里做错了?

好吧,经过一些实验,我发现我必须使用:

log (string id {104, 101, 108, 108, 111} of me)

否则tell application "iTunes"并搞砸了一切。

最新更新