Skip to content
AutoHotKey
2011.12.21 19:17

autohotkey) 맥어드레스 추출

조회 수 15086 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

AHK

autohotkey) 맥어드레스 추출


runwait, %comspec% /c ipconfig /all > c:\mac.txt, ,hide


Loop, Read, c:\mac.txt

{

ifinstring, A_LoopReadLine, IP Address

{

msgbox, %A_LoopReadLine%

IP=%A_LoopReadLine%

StringSplit, IP, IP, :,

break

}

}


Loop, Read, c:\mac.txt

{

ifinstring, A_LoopReadLine, Physical Address

{

msgbox, %A_LoopReadLine%

MAC=%A_LoopReadLine%

StringSplit, MAC, MAC, :,

break

}

}


;StringRight, MAC, MAC, 18

msgbox, %MAC2%`n%IP2%


;filedelete, c:\mac.txt

;;MSGBOX, %A_IPAddress1%

;InputBox, UserInput, Phone Number, 1).%A_IPAddress1%`n2).%A_IPAddress2%`n3).%A_IPAddress3%`n4).%A_IPAddress1%`n5).%A_IPAddress4%`n6).%A_IPAddress5%`n7).%A_IPAddress6%`n8).%A_IPAddress8%`n9).%A_IPAddress9%`n10).%A_IPAddress10%`n, , 200, 300


로그인 후 댓글쓰기가 가능합니다.

?

List of Articles
번호 분류 제목 날짜 조회 수
45 AutoHotKey 정보수집 2011.03.30 16096
44 AutoHotKey WinMenuSelectItem로 메뉴선택하기 1 2011.02.17 16302
43 AutoHotKey #ifwinactive & #ifwinexist 윈도우창 마다 핫키의 용도를 다르게 사용하는 방법 2011.02.14 16560
42 AutoHotKey [AHK_L] 현재 열려진 인터넷 창 값 가져오기 4 2011.08.02 16586
41 AutoHotKey PostMessage로 한글 사용하기 1 2 2011.02.09 16812
40 AutoHotKey ahk_l 웹페이지 파일로 저장한 뒤 불러와 필요한 부분 추출하여 출력하기 2011.02.22 16999
39 AutoHotKey AHK_L 예제소스 1 2011.02.10 17026
38 AutoHotKey ahk_l 과 com 의 이해 2011.02.22 17503
37 AutoHotKey ahk_l 웹페이지 앞, 뒤페이지 제어 예제소스 및 설명첨부 2011.02.22 17556
36 AutoHotKey autohotkey와 autohotkey_l 의 인터넷 창 띄우기 비교예제 2 2011.02.11 17775
35 AutoHotKey 부팅 완료 체크 2011.02.09 17864
34 AutoHotKey AutoHotkey COM Standard Library 2 2011.02.10 18052
33 AutoHotKey [ahk_l] 섬세한 인터넷 자동검색 2011.02.16 18190
32 AutoHotKey com.ahk 1 2011.02.09 18261
31 AutoHotKey [autohotkey] FTP-업로드 예제분석 2 file 2011.02.05 18651
30 AutoHotKey autohotkey) 핑테스트 프로그램 1 file 2011.12.31 18958
29 AutoHotKey [ahk] 다른 프로그램의 트레이 아이콘을 숨기기 1 4 2011.02.16 19038
28 AutoHotKey COM 사용 1 2011.02.21 19077
27 AutoHotKey autohotkey) IPv6 모두 사용안함 설정하기 1 file 2011.12.30 19139
26 AutoHotKey AHK에서 가능한 COM 인터넷 익스플로러 및 GUI 브라우저 1 2011.02.11 19510
Board Pagination Prev 1 2 3 4 Next
/ 4

http://urin79.com

우린친구블로그

sketchbook5, 스케치북5

sketchbook5, 스케치북5

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소