x_files_x Posted May 6, 2013 Share Posted May 6, 2013 Arkadaşlar hepinize merhaba, Remouse standart adındaki bir proğramla geçen uğraşıyordum, smart mouse kaydedici bir özelliği var bu özellik ile mesela hesap makinesini açtım ve 1 tuşuna bastırıp kaydettirdim, ben hesap makinesinin ekrandaki kordinatını değiştirsemde mouse yeni kordinatı bulup yine 1 tuşuna basıyor, böyle bişiyi autoit ile yapmak istiyorum o proğrama sırf bu nedenle bağlı kalmak yerine kendi ilgilendiğim Autoit ile yapmak istiyorum yardımcı olur musunuz, bir örneği filan olsa bakardım, Quote Link to comment Share on other sites More sharing options...
reyiz Posted May 6, 2013 Share Posted May 6, 2013 O program butonların classlarını alıyor olmalı. AutoIt'te pencerenin yeri değişse bile işlem yaptırmak için ControlClick() kullanabilirsiniz. AutoIt Info programı ile classları öğrenebilirsiniz. Quote Link to comment Share on other sites More sharing options...
x_files_x Posted May 6, 2013 Author Share Posted May 6, 2013 bilmiyorum ki hatırladıgım kadarıyla classı olmayan yerlerede tıklıyordu, bence o pencerenin başlıgına göre yeni kordinatları buluyor oraya tıklıyor, ama nasıl bilmiyoruım.. Quote Link to comment Share on other sites More sharing options...
reyiz Posted May 6, 2013 Share Posted May 6, 2013 Class yerıne butondakı yazılarda kullanılabılır. Pencereye gore tıklattırsa bıle sıstemde kullanılan tema soruna yol acabılır. Quote Link to comment Share on other sites More sharing options...
x_files_x Posted May 6, 2013 Author Share Posted May 6, 2013 mousepos die bişi var autoitte, burda da pencereye bir pos yapılıyor sanırım, yani pencere kordinatlarını alıp ona göre silem yapılıyor Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted May 6, 2013 Share Posted May 6, 2013 MouseGetPos ile yapılmıyor bence. MouseGetPos anlık imleç konumunu alır pencere konumunu almaz ki. Eğer üstte dediğin program hep açık iken konum sıkıntısı yaşamıyorsa o zaman sürekli hesapmakinesini takip edip konumunu kaydediyor onun için sıkıntı olmuyor veya başka şekilde zaten olayı tam anlamadım kafam olmuş kütük gibi :D Quote Link to comment Share on other sites More sharing options...
x_files_x Posted May 7, 2013 Author Share Posted May 7, 2013 programı indirip denemek lazım :) smart record die bi özelligi ile yapıyordu Quote Link to comment Share on other sites More sharing options...
x_files_x Posted May 7, 2013 Author Share Posted May 7, 2013 Forumda yardım edebilecek birileri yokmu.. Quote Link to comment Share on other sites More sharing options...
x_files_x Posted May 7, 2013 Author Share Posted May 7, 2013 (edited) Ben biraz araştırdım ve buldum ama ezbere yapıyorum mantıgı biraz karısık gibi, buyrun işte size örnegi, bu scripte hesap makinesinin ekranı aktifken calıstırdıgınızda, 7 tusuna basar, ekranın neresine taşırsanız taşıyın yerini bulur ve 7 tuşuna basar, yani class yada buton işlemi degil coordinatlarını buluyor. $WindowPosition = WinGetPos("Hesap Makinesi") MouseClick ("left", $WindowPosition[0] + 30, $WindowPosition[1] + 190) Edited May 7, 2013 by x_files_x 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.