[按键精灵] 纯文本查看 复制代码
LogStart "C:\a.log" //记录日志
For i = 0 To 3
TracePrint "保存次数:" & i
Call Plugin.Msg.ShowScrTXT(0, 0, 1024, 768, "屏幕内容填写:" & i, "0000FF")
Next
LogStop //记录日志停止
TracePrint "这句不会输出到日志里!"
BeginThread 多线程 //新开线程
LogStart "C:\a.log" //记录日志
For i = 0 To 3
TracePrint "保存次数:" & i
Call Plugin.Msg.ShowScrTXT(0, 0, 1024, 300, "屏幕内容填写:" & i, "0000FF")
Next
LogStop //记录日志停止
TracePrint "这句不会输出到日志里!"
Delay 3000
Sub 多线程()
LogStart "C:\b.log" //记录日志
For i = 0 To 3
TracePrint "多线程保存次数:" & i
Call Plugin.Msg.ShowScrTXT(0, 300, 1024, 600, "多线程屏幕内容填写:" & i, "0000FF")
Next
LogStop //记录日志停止
TracePrint "这句不会输出到日志里!"
End Sub