MstfBlgn Posted March 13, 2012 Share Posted March 13, 2012 (edited) [b][b]1. Soru Beyler Ben Şimdi Auto iT İle Title Gizlemek İstiyorum Örnek Windwos Live mesengeri Msn Gibi Yapıcam Oto title Degiscek 2. Soru Auto İt İle Engellediğim Bir Tusa Basmayı Nasıl engelleriz Uyarı İle örnek Kapatılmıs bir tuşa bastınız gibi 3.Soru Exe Kapatılırken Web Sistesi Açmasını İStiyorum .ini Sistemi İle örnek (CikistaAcilacaksite] Sıte=www.siteadresi.com Gibi .ini Sisteminden Cekicek Lütfen Yardımlarınızı Bekliyorum [/b][/b] Edited March 13, 2012 by MstfBlgn Quote Link to comment Share on other sites More sharing options...
blue_life Posted March 13, 2012 Share Posted March 13, 2012 @MstfBlgn 1. Cevap [b]GUISetStyle[/b] ile istediğini yapabilirsin. Yardım dosyasında ilgili örnek mevcut! [codebox]#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example() Func Example() Local $NewStyle = False, $Style, $Msg GUICreate("Gui Style", 260, 100) $Style = GUICtrlCreateButton("Set Style", 45, 50, 150, 20) GUISetState() While 1 $Msg = GUIGetMsg() Switch $Msg Case $GUI_EVENT_CLOSE Exit Case $Style If Not $NewStyle Then GUISetStyle(BitOR($WS_POPUPWINDOW, $WS_THICKFRAME), BitOR($WS_EX_CLIENTEDGE, $WS_EX_TOOLWINDOW)) GUICtrlSetData($Style, 'Undo Style') $NewStyle = True Else GUISetStyle(BitOR($WS_MINIMIZEBOX, $WS_CAPTION, $WS_POPUP, $WS_SYSMENU), 0) GUICtrlSetData($Style, 'Set Style') $NewStyle = False EndIf Case Else EndSwitch WEnd EndFunc ;==>Example[/codebox] 2. Cevap Soruyu tam anlayamadım. Autoit ile oluşturulumuş penceredeki bir butona basılmasını mı engellemek istiyorsun? 3. Cevap Bir örnek verelim, sen kurcala... [codebox]_ShellExecute_Link() Func _ShellExecute_Link($Default_Link = "www.siteadresi.com") Local $Config_ini = StringTrimRight(@ScriptFullPath,4) & ".ini" Local $Link_Read = IniRead($Config_ini,"CikistaAcilacaksite","Sıte","") If $Link_Read = "" Then $Link_Read = $Default_Link IniWrite($Config_ini,"CikistaAcilacaksite","Sıte","www.siteadresi.com") EndIf ShellExecute($Link_Read) EndFunc[/codebox] Quote Link to comment Share on other sites More sharing options...
MstfBlgn Posted March 13, 2012 Author Share Posted March 13, 2012 Çok Teşekkürler blue_life bey 2. Soruda Mesela Oyunda F6 Tusunu Kapatıcam Ona Basınca Da Uyarı Vericek Ve Oyunu Kapatıcak Çünkü f6 da oyunda bug yapıyorlar Quote Link to comment Share on other sites More sharing options...
blue_life Posted March 13, 2012 Share Posted March 13, 2012 Basit bir örnek verelim. Sen kendine göre ayarlarsın... Kolay gelsin... [codebox]HotKeySet("{F6}", "_F6") While 1 Sleep(100) ;Cpu save WEnd Func _F6() Local $Uygulama = "deneme.exe" ;If ProcessExists($Uygulama) Then While ProcessExists($Uygulama) ProcessClose($Uygulama) Sleep(50) WEnd MsgBox(48, "Uyarı!", "F6 tuşuna bastığınız için oyun kapatılmıştır vs. vs. gibi bir şey") ;EndIf EndFunc ;==>[/codebox] Quote Link to comment Share on other sites More sharing options...
Mehmet Posted March 13, 2012 Share Posted March 13, 2012 (edited) buda olurmu [codebox] While 1 HotKeySet("{F6}", "DoNothing") Sleep(250) WEnd Func DoNothing() Sleep(100) MsgBox(0,"UYARI","YASAK TUŞA BASTIĞINIZ İÇİN OYUNDAN ÇIKIŞ YAPILACAK") ProcessClose("notepad.exe") EndFunc [/codebox] Edited March 13, 2012 by MeHMeTBeN Quote Link to comment Share on other sites More sharing options...
MstfBlgn Posted March 13, 2012 Author Share Posted March 13, 2012 (edited) çok teşekkür 2 nizede çok işime yaradı [warning][b][color=#FF0000]Forumda açılan konulara teşekkür etmek için teşekkür butonunu kullanınız! [topic=872]Lütfen Forum Kurallarını Okuyunuz.[/topic] Anlayışınız için teşekkür ederiz Tnc-Team[/color][/b][/warning] Edited March 13, 2012 by blue_life 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.