Jump to content

1.tittle'de Çalışıyor Ama 2.title Kapatmıyor.


dreamfancy
 Share

Recommended Posts

 

kapanmayanları birden fazla yaz. 

local $MyList[6] = ["Test1","Test2","Test2","Test3","Test3","Test4"]

 

Denedim hocam hatta sadece 2. title kısmına yazdığım programları kapıyor.Yani navicat premium kısmına yazdığım titleleri kapıyor filezilla titlesini ise tamamen doğru şekilde yazdım ve olmadı. Sadece 2. title kısmına yazdığım şeyleri kabul edip görüp oyunu kapıyor ( 2 .title kısmı navicat premium  ) yazan yerdir.

 

Lütfen yardım edin.. :( Skype açarsanız çok minnettar olurum. :(

Edited by dreamfancy
Link to comment
Share on other sites

Sorun şu: Sen o hile yaptınız MessageBox'undan sonra endif diyip o if bloğunu kapatmışsın (ki zaten neden onun soru olduğunu da anlamadım? ama sanırım yapmak istediğin evet dendiği zaman kapatmaktı.).Neyse sonuç olarak exitloop arrayin ikinci elemanı ($i yi 1 den başlatmışsın.Autoit zero-based çalışır) bulduktan sonra gerekli uyarı verir ve biter.Kodu şöyle düzeltirsen çalışacağını düşünüyorum.

 

local $MyList[4] = ["Test1","Test2","Test3","Test4"] ; Kapanmasını istediğin Pencere isimlerini buraya yaz
  
HotKeySet("p","dur")
  
dim $deger,$Paused
 
$deger = 0
 
dur()
 
Func calis()
 
 
do
for $i = 0 to UBound($MyList) -1
if WinWait($MyList[$i]) Then  ;winexist kullanılabilir
WinClose("LeonMetin2")
WinClose("LeonMetin2")
WinClose("LeonMetin2") ;kapanmasını istediklerini bu şekilde yaz
If MsgBox(0, "LeonMetin2 Mastershield", "Hesabınız hile kullanımından dolayı birkaç saat içerisinde kapatılacaktır." & @CRLF & @CRLF & "Eğer bu bildirimin yanlış bir bildirim olduğunu düşünüyorsanız hemen leonmetin2.net/forum adresinden iletişime geçin.", 5) = 6 Then
ExitLoop
EndIf
EndIf
next 
until $deger = 0
 
 
EndFunc
 
 
func dur()
 
 
if $deger = 1 Then
 
 
$deger = 0
 
 
do
 
 
Sleep(100)
 
 
until $deger = 1
 
 
Else
 
 
$deger = 1
 
 
calis()
 
 
EndIf
 
 
EndFunc
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...