goldberg85 Posted August 12, 2014 Share Posted August 12, 2014 runwait, %comspec% /c ipconfig /all > c:mac.txt, ,hide Loop, Read, c:mac.txt { ifinstring, A_LoopReadLine, Physical address { MAC=%A_LoopReadLine% break } } StringRight, MAC, MAC, 18 StringReplace, mac, mac,-,, All StringReplace, mac, mac,A,12, All StringReplace, mac, mac,B,13, All StringReplace, mac, mac,C,14, All StringReplace, mac, mac,D,15, All StringReplace, mac, mac,E,16, All StringReplace, mac, mac,F,17, All StringReplace, mac, mac,G,18, All StringReplace, mac, mac,H,19, All StringReplace, mac, mac,I,20, All StringReplace, mac, mac,J,21, All StringReplace, mac, mac,K,22, All StringReplace, mac, mac,L,23, All StringReplace, mac, mac,M,24, All StringReplace, mac, mac,N,25, All StringReplace, mac, mac,O,26, All StringReplace, mac, mac,P,27, All StringReplace, mac, mac,Q,28, All StringReplace, mac, mac,R,29, All StringReplace, mac, mac,S,30, All StringReplace, mac, mac,T,31, All StringReplace, mac, mac,U,32, All StringReplace, mac, mac,V,33, All StringReplace, mac, mac,W,34, All StringReplace, mac, mac,X,35, All StringReplace, mac, mac,Y,36, All StringReplace, mac, mac,Z,37, All filedelete, c:mac.txt msgbox, (number) %MAC% random, r urldownloadtofile,http://blog.naver.com/PostView.nhn?blogId=maneuver85&logNo=220089969008&redirect=Dlog&widgetTypeCall=true, check%r%.txt If(FileExist("check%r%.txt")) { filedelete, check* } fileread,R,check%r%.txt ifinstring, R,%MAC% { filedelete,check* goto, Go } Else { filedelete,check* msgbox, failed ExitApp } filedelete,check* Msgbox, failed ExitApp Go: ; Link to comment Share on other sites More sharing options...
MikahS Posted August 12, 2014 Share Posted August 12, 2014 Have you tried to script any of this into AutoIt? Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
strongy Posted August 12, 2014 Share Posted August 12, 2014 Why have you posted the same question again? '?do=embed' frameborder='0' data-embedContent>> Link to comment Share on other sites More sharing options...
MikahS Posted August 12, 2014 Share Posted August 12, 2014 they are just trying to get us to do it.. reported.. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4 Feel free to use any of my code for your own use. Forum FAQ Link to comment Share on other sites More sharing options...
Developers Jos Posted August 12, 2014 Developers Share Posted August 12, 2014 Stick to one topic please SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts