testingcase12.js
来自「《脚本驱动的应用软件开发方法与实践》源码」· JavaScript 代码 · 共 21 行
JS
21 行
//*****************************************************************************
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu Date: 5/1/2006
//*****************************************************************************
// Testing Case 12: support some kind of timer for scripts
Debugger.addBlankLine(1);
Debugger.trace("Testing Case 12", "support some kind of timer for scripts");
Application.createTimer(1000, false, timerProc1);
Application.createTimer(2000, true, timerProc2);
function timerProc1()
{
Debugger.trace("Info", "timerProc1() is executed!");
}
function timerProc2()
{
Debugger.trace("Info", "timerProc2() is executed!");
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?