#include <Misc.au3>
Local $hDLL = DllOpen("user32.dll")
Local $list = IniReadSection("code.ini","list")
For $i=1 To $list[0][0]
While 1
If _IsPressed("10", $hDLL) Then
While _IsPressed("10", $hDLL)
Sleep(250)
WEnd
MsgBox(4096, "", "身份证:" & $list[$i][0],1)
MsgBox(4096, "", "姓 名:" & $list[$i][1],1)
ElseIf _IsPressed("1B", $hDLL) Then
ExitLoop
EndIf
WEnd
Next