blue_life Posted January 30, 2012 Share Posted January 30, 2012 Ben tarayıcı olarak uzun yıllardır Firefox kullandığımdan, Internet Explorer ayarlarıyla fazla ilgili deyilim. Bu yüzden eksik bilgiler için kusura bakmayın. Neyse bir arkadaşım özel mesaj vasıtasıyla, Internet Explorer Ayarlarını nasıl sıfırlayacağına dair bir soru sordu. Başka bir aradaşında, bu konuda yardıma ihtiyacı olabilir düşüncesiyle bu yazıyı yazıyorum... Neyse kısaca örnek script dosyamız; [codebox]#NoTrayIcon #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Local $RunPid = Run('rundll32.exe inetcpl.cpl ResetIEtoDefaults') Local $Hwnd = _Hwnd_From_Pid($RunPid,"[CLASS:#32770]") BlockInput(1) ControlCommand($Hwnd, "", "Button1", "Check") ControlCommand($Hwnd, "", "Button2", "Check") BlockInput(0) Do Sleep(250) Until IsHWnd($Hwnd) = 0 $Hwnd = _Hwnd_From_Pid($RunPid,"[CLASS:#32770]") Do Sleep(100) Until ControlCommand($Hwnd, "", "Button1", "IsEnabled") = 1 BlockInput(1) ControlCommand($Hwnd, "", "Button1", "Check") BlockInput(0) Exit Func _Hwnd_From_Pid($Pid,$Title) Local $Winlist While 1 $Winlist = WinList($Title) For $i = 1 To $Winlist[0][0] If $Winlist[$i][0] = "" Or WinGetProcess($Winlist[$i][1]) <> $Pid Then ContinueLoop If BitAND(WinGetState($Winlist[$i][1]), 2) Then Return $Winlist[$i][1] EndIf Next Sleep(100) ;Save Cpu WEnd Return SetError(1,0,0) EndFunc[/codebox] Sizlere son olarak googlede bulduğum inetcpl.cpl için bir kaç parametreyide vermek istiyorum. Verdiğim parametreleri [b]Run('rundll32.exe inetcpl.cpl Parametre')[/b] şeklinde çalıştırabilirsiniz. Neyse çalışmalarınızda başarılar dilerim arkadaşlar. Kolay gelsin... [codebox]ClearMyTracksByProcessW AddInternetPropertySheets AddInternetPropertySheetsEx DisplayPopupWindowManagementDialog DllInstall GetAddSitesDisplayUrl ImportExportPFX LaunchAddSitesDialog LaunchConnectionDialog LaunchInternetControlPanel LaunchPerSitePrivacyActionDialog LaunchPopupWindowManagementDialog LaunchPrivacyDialog LaunchSecurityDialog LaunchSecurityDialogEx LaunchSiteCertDialog OpenFontsDialog OpenFontsDialogEx OpenLanguageDialog ResetIEtoDefaults ShowDeleteBrowsingHistoryDialog ShowFeedOptionsDialog ShowLanguageDialog SiteCert_RunFromCmdLine[/codebox] Quote Link to comment Share on other sites More sharing options...
radyofon Posted January 30, 2012 Share Posted January 30, 2012 (edited) Üstadım yine döktürmüşsün!. Çok sağol, ellerin dert görmesin. Çok lazım bir programdı ama bir türlü tam otomatik olarak çalıştıramamıştım. Sayende bu sorunu da aştık. İyi ki varsın!.... Edited January 30, 2012 by radyofon Quote Link to comment Share on other sites More sharing options...
lavigne-61 Posted January 30, 2012 Share Posted January 30, 2012 (edited) eyvallah üstad [img]http://www.maxicep.com/images/smileyler/xpost_thanks.gif[/img] Edited January 30, 2012 by lavigne-61 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.