mreceplafci Posted May 22, 2016 Share Posted May 22, 2016 Programı kurduğum bilgisayarın kablosuz veya kablolu internet bağlantısı varsa, autoit kodlarıyla bağlantıyı nasıl kesebilirim? http://www.tnctr.com/topic/25559-ileri-düzey-autoit-örnekleri/?page=18 Yukarıdaki sayfada yazılı kodları denedim olmadı. Quote Link to comment Share on other sites More sharing options...
Mehmet Posted May 22, 2016 Share Posted May 22, 2016 (edited) If MsgBox(36,"İnternet kapatma","İnternet kapatılsınmı?") = 6 Then Run("ipconfig.exe /release *",@SystemDir,@SW_HIDE) MsgBox(0,"Uyarı","İnternet kapatıldı!") Else Run("ipconfig.exe /renew *",@SystemDir,@SW_HIDE) MsgBox(0,"Ok","İnternet Açıldı") EndIf Edited May 22, 2016 by Mehmet 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.