mertdinler Posted May 27, 2012 Share Posted May 27, 2012 (edited) mouse ile herhangi bir yere tıklandığında bir işlem yaptırmalıyım örneğin sol tıkla tıklandığında q ya bassın nasıl bir yol izlemeliyim ? ve bu işlemi her tıklamada yapacak 1 tıklamadan sonra yapmayı kesmeyecek ayrıca p ile bu programın çalışmasını durdurup devam ettirebileyim Tıklayınca işlem yaptırmayı buldum bu kısayol atamayı nasıl yapacağımı bilmiyorum p ye basınca deaktif tekrar basınca işleme devam [codebox]#include <Misc.au3> While 1 If _IsPressed(01) Then send("123") sleep(500) EndIf WEnd[/codebox] Edited May 27, 2012 by mertdinler Quote Link to comment Share on other sites More sharing options...
blackman12 Posted May 27, 2012 Share Posted May 27, 2012 o da var o da var biraz ara Quote Link to comment Share on other sites More sharing options...
mertdinler Posted May 27, 2012 Author Share Posted May 27, 2012 (edited) yaptım [code] #include <Misc.au3> Global $Paused HotKeySet("p", "durdur") HotKeySet("o", "baslat") While 1 Sleep(100) WEnd Func durdur() $Paused = Not $Paused While $Paused Sleep(100) WEnd EndFunc Func baslat() While 1 If _IsPressed(01) Then send("111") sleep(500) EndIf WEnd EndFunc [/code] belki işine yarayan olur Edited May 27, 2012 by mertdinler Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 6, 2012 Share Posted June 6, 2012 Peki fare orta tuşa/tekerleğe basınca işlem yaptırmak için "_IsPressed(01) " yerine ne yazılmalıdır? Ya da bu fare tuş kodları, Help dosyasında hangi bölümde? Quote Link to comment Share on other sites More sharing options...
blackman12 Posted June 6, 2012 Share Posted June 6, 2012 Sorunun cevabına o kadar yaklaşmışsınken niye vazgeçtin bilmiyorum help dosyasında _ispressed ta bu kodlar [code]04 Middle mouse button (three-button mouse)[/code] Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 6, 2012 Share Posted June 6, 2012 Sonradan buldum da ayrılmak zorunda kaldığım için yazamadım buldum diye yine de çok teşekkürler blackman12 Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 18, 2012 Share Posted June 18, 2012 Küçük bir soru daha Yukarıdaki örnekte varsayılan durum pasif. Script çalışınca aktif olması, hotkeye basınca pasif yapmak yani varsayılan olarak aktif etmek nasıl yapılabilir? Quote Link to comment Share on other sites More sharing options...
blackman12 Posted June 18, 2012 Share Posted June 18, 2012 scriptini ver gösterim. Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 18, 2012 Share Posted June 18, 2012 Blackman12 kardeşim, önceki örneğin benzeri.. [codebox]#include <Misc.au3> Global $Paused HotKeySet("!+{f8}", "durdur") HotKeySet("!+{f7}", "1.islem") HotKeySet("!+{f6}", "2.islem") While 1 Sleep(100) WEnd Func durdur() $Paused = Not $Paused While $Paused Sleep(100) WEnd EndFunc Func 1.islem() While 1 If _IsPressed(04) Then send("+!q") sleep(500) EndIf WEnd EndFunc Func 1.islem() While 1 If _IsPressed(04) Then send("+!r") sleep(500) EndIf WEnd EndFunc [/codebox] Scripti çalıştırınca fare orta tuşa tıklamada başka bir uygulamanın kısayolu olan shift+alt+Q'ya bassın istiyorum. Diğer kullandığım kısayol shift+alt+R'ye geçmek için de "2. işlem"e hotkey atadım. Hatta şu şekil de denedim: [codebox] #include <Misc.au3> Global $Paused HotKeySet("!+{f8}", "durdur") HotKeySet("!+{f7}", "baslat") While 1 Sleep(100) WEnd Func durdur() $Paused = Not $Paused While $Paused Sleep(100) WEnd EndFunc Func baslat() While 1 If _IsPressed(04) Then send("+!q") sleep(500) EndIf WEnd EndFunc [/codebox] Ama hotkeye (yani shift+alt+F7'ye) basmadan script çalışınca direk fare orta tuşun nasıl devreye konulacağını çıkaramadım Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 18, 2012 Share Posted June 18, 2012 denedim dediğim örneği yanlış vermişim, doğrusu [codebox]#include <Misc.au3> Global $Paused HotKeySet("!+{f8}", "durdur") HotKeySet("!+{f7}", "baslat") While 1 Sleep(100) WEnd Func baslat() $Paused = Not $Paused While $Paused If _IsPressed(04) Then send("+!q") sleep(500) EndIf WEnd EndFunc Func durdur() While 1 Sleep(100) WEnd EndFunc [/codebox] Quote Link to comment Share on other sites More sharing options...
bendeihuda Posted June 22, 2012 Share Posted June 22, 2012 Bununla ilgili Autoit yardım dosyasında bakabileceğim bir bölüm var mı? Quote Link to comment Share on other sites More sharing options...
MostWanted Posted June 22, 2012 Share Posted June 22, 2012 Hiç bir şeye basmadan maus orta tuşunu kontrol etmek için ilk kullandığın while a yazman gerekiyor kodlarını. Quote Link to comment Share on other sites More sharing options...
Furkan TAN Posted June 23, 2012 Share Posted June 23, 2012 Merhabalar konu cok ilgimi cekti Rica etsem Windows 7 64 bit icin mouse orata tusuna bastigimda Q islevi gorecek bi image yazabilir misiniz Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted June 23, 2012 Share Posted June 23, 2012 [b][font="Tahoma"]Q işlevi görecek image derken ? Biraz daha açık yazarsan yardımcı olabiliriz belki.Mouse orta tuşa bastığında Q tuşu basılsın mı istiyorsun.Eğer bunu istiyorsan bir kaç mesaj önce benzeri yazıldı, anlamaya çalışın biraz hazırcı olmayın.[/font][/b] Quote Link to comment Share on other sites More sharing options...
zamaneberduşu Posted June 23, 2012 Share Posted June 23, 2012 [b]program kurdurturken bazen klavye çalışımıyor ve mause ile tıklama yapmak gerekiyor bunu recorder ile yapıyorum fakat her bilgisayarda çalışımıyor mause ile yaptığım tıklamaları daha sağlam bi şekilde nasıl yaparım her bilgisayarda çalışması için [/b] Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted June 23, 2012 Share Posted June 23, 2012 [b]Help dosyasında ControlClick &ControlCommand kodlarını biraz kurcala [/b] [b] [/b] Quote Link to comment Share on other sites More sharing options...
zamaneberduşu Posted June 23, 2012 Share Posted June 23, 2012 [b]ben fakat ingilizce bilmiyorum anlamıyorum peki yine çevirici ile bakarım [/b] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted June 24, 2012 Share Posted June 24, 2012 Forumda da arayabilirsin.Çünkü çokca cevap verildi buna. Quote Link to comment Share on other sites More sharing options...
Furkan TAN Posted June 28, 2012 Share Posted June 28, 2012 Demek istedigim oyundayken mouse orta tusunna bastıgımda 2 kere Q ya basılmıs gibi işlev görsün. 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.