[오토핫키] 맥주소 인증
·
오토핫키
Mac =(AA-AA-AA-11-11-11) Output_Mac := GetMacAddress() Ifnotinstring, Mac ,%Output_Mac% ;추출한 맥이 없다면{msgbox, 등록되지 않은 PC입니다.`n관리자에게 문의해주세요.exitapp} GetMacAddress(){ ;맥어드레스 추출Runwait, %ComSpec% /c getmac /NH | clip,,hideRegExMatch(clipboard, ".*?([0-9A-Z].{16})(?!\w\\Device)", mac)return %mac1%}