secureCRT scripts as vbs

gdb multithread debug.

lsusb.py

# $language = "VBScript"
# $interface = "1.0" Sub Main 'Dim i As Integer For i = 1 To 10000
crt.Screen.Send "AT+CGMI" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGMR" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGMM" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGSN" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CIMI" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CFUN?" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGREG=2" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGREG?" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+COPS?" & Chr(13)
crt.Sleep 500
crt.Screen.Send "AT+CGATT?" & Chr(13)
crt.Sleep 500
Next End Sub

something worthing to do : more preparation may quicken the speed in doing work! vimrc

set tabstop=4
set softtabstop=4 "backspace len
set shiftwidth=4 "equal to backspace len
set noexpandtab "using tab as indent
set nu
set autoindent
set cindent "c style indent
上一篇:dojo 总结


下一篇:【转】oracle 中随机取一条记录的两种方法