Ragebar Posted September 10, 2012 Share Posted September 10, 2012 Merhaba arkaşlar ben bi programın classını almak istiyorum acaba nasıl alabilirm misal aldım diyelim onu kodlara döküp daha sonra sadece o class'da kodların çalışmasını nasıl sağlıyabilirim ? Quote Link to comment Share on other sites More sharing options...
blue_life Posted September 10, 2012 Share Posted September 10, 2012 Konuyu tam anlayamadım malesef Au3Info ile (Scite ekranındaki menu barından tools -> A3Info seçerek başlatabilirsin) class bilgisini alıp, sonra pencerenin olup olmadığını WinExists ile kontrol edebilirsin. Tabi farklı komutlar ile de kontroller yapılabilir. Yardım dosyasınındaki ilgili konuları incele.... If WinExists("[CLASS:Aldigın class bilgisi]") = 0 Then Exit ;Pencere yoksa çıkış Quote Link to comment Share on other sites More sharing options...
Ragebar Posted September 10, 2012 Author Share Posted September 10, 2012 (edited) [quote name='blue_life' timestamp='1347279049' post='1239257'] Konuyu tam anlayamadım malesef [img]http://www.tnctr.com//public/style_emoticons/default/sad.png[/img] Au3Info ile (Scite ekranındaki menu barından tools -> A3Info seçerek başlatabilirsin) class bilgisini alıp, sonra pencerenin olup olmadığını WinExists ile kontrol edebilirsin. Tabi farklı komutlar ile de kontroller yapılabilir. Yardım dosyasınındaki ilgili konuları incele.... If WinExists("[CLASS:Aldigın class bilgisi]") = 0 Then Exit ;Pencere yoksa çıkış [/quote] Abi fakat bende programın class bilgisini aldım fakat class'ı eter - s0:b4:p:504750 böyle gözüküyor sonra düşündüm görev yöneticisinin classına baktım class'ı #32770 yani ben If WinExists("[CLASS:eter - s0:b4:p:504750]") = 0 Then Exit ;Pencere yoksa çıkış bu kodu böyle mi kullanıcam yoksa programın class'ını alamıyor muyum ? Edited September 10, 2012 by Ragebar Quote Link to comment Share on other sites More sharing options...
blue_life Posted September 10, 2012 Share Posted September 10, 2012 Evet öyle kullanabilirsin. Istersen msgbox komutu ile testler yaparak konuyu daha iyi anlayabilirsin... If WinExists("[CLASS:eter - s0:b4:p:504750]") = 1 Then MsgBox(64,"","Pencere var") ;Devam ediyoruz... Else MsgBox(16,"","Pencere yok") Exit EndIf 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.