1

我有以下applescript,出于某种原因,它不会延迟指定的时间。我理解它的方式,它应该在每次显示之间延迟 10 秒,但我在对话后得到对话,没有任何延迟

我已经尝试了几种不同的变体,但结果都是一样的

set models to {"tom", "dick", "harry", "mark", "ringo", "john"}
set users to {"359597388", "338954297", "339380024", "1254012084", "265934082", "105804369"}
repeat
    repeat with model in models
        repeat with user in users
            delay (6000)
            display dialog "Sending user:" & user & "With model:" & model & "."

        end repeat

    end repeat
end repeat
4

1 回答 1

0

尝试:

set models to {"tom", "dick", "harry", "mark", "ringo", "john"}
set users to {"359597388", "338954297", "339380024", "1254012084", "265934082", "105804369"}
repeat
    repeat with model in models
        repeat with user in users
            delay 10
            display dialog "Sending user:" & user & " With model: " & model & "."
        end repeat

    end repeat
end repeat
于 2012-11-29T19:58:21.937 回答