摘要:
get_id(title){ WinGet, var_id, List, %title% ;窗口标题 idlist := [] loop, %var_id%{ idlist.Push(var_id%A_Index%) } If (!var_id){ MsgBox, 无匹配窗口 } Return id 阅读全文
摘要:
IniRead, bit, myfile.ini, section, key_bit IniRead, times, myfile.ini, section, key_times SetRegView %bit% RegRead, OutputVar2, HKEY_LOCAL_MACHINE\SOF 阅读全文
摘要:
var1 := "" ; 赋值为空, 这样下面将会使用当前时间戳代替. var1 += 1, days var1 := SubStr(var1, 1, 8) tommorrow := var1 0700 ;MsgBox % tommorrow EnvSub, tommorrow, %A_Now%, 阅读全文