LifeSux Posted May 26, 2012 Share Posted May 26, 2012 Arkadaşlar autoit ile bir bot yapmak istiyorum.Bu bot web sayfasına gidip text boxa istediğimi yazıcak ve gönderme butonuna basıcak.Tabii macro olmasını istemiyorum.Misal şu sayfa gibi: http://form.jotformeu.com/form/21462421648350 Basit bir şeyse örnek yazabilir misiniz acaba ? Quote Link to comment Share on other sites More sharing options...
LifeSux Posted May 26, 2012 Author Share Posted May 26, 2012 (edited) şöyle bir şey yaptım ama çalışmadı nedense. _IECreate kullanınca çalışıyor ama o zaman sürekli ie sayfası açılıyor. [code]#include <IE.au3> #include <Inet.au3> $Source = _INetGetSource("http://form.jotformeu.com/form/21462421648350") $Name = _IEGetObjByName($Source,"input_1") $Name1 = _IEGetObjByName($Source,"input_2") _IEPropertySet($Name,'innerText','test') _IEAction($Name1,"click")[/code] Edited May 26, 2012 by LifeSux Quote Link to comment Share on other sites More sharing options...
MostWanted Posted May 26, 2012 Share Posted May 26, 2012 [code]#include <IE.au3> $Source = _IECreate ("http://form.jotformeu.com/form/21462421648350") $Name = _IEGetObjById($Source,"input_1") $Name1 = _IEGetObjByid($Source,"input_2") _IEPropertySet($Name,'innerText','test') _IEAction($Name1,"click") Sleep(5000) _IEQuit($Source)[/code] ID leri name olarak yazmışsın.Aynı zamanda bu işlemin getsource ile bi alakası yok. Quote Link to comment Share on other sites More sharing options...
LifeSux Posted May 28, 2012 Author Share Posted May 28, 2012 Çok teşekkürler mostwanted. Peki bunu Browser açmadan yapmak mümkünmü ? Quote Link to comment Share on other sites More sharing options...
MostWanted Posted May 28, 2012 Share Posted May 28, 2012 [code]#include <IE.au3> $Source = _IECreate ("http://form.jotformeu.com/form/21462421648350",0,0) $Name = _IEGetObjById($Source,"input_1") $Name1 = _IEGetObjByid($Source,"input_2") _IEPropertySet($Name,'innerText','test') _IEAction($Name1,"click") Sleep(5000) _IEQuit($Source)[/code] böyle yaparsan browser gizli açılır. Quote Link to comment Share on other sites More sharing options...
LifeSux Posted May 29, 2012 Author Share Posted May 29, 2012 (edited) [quote name='MostWanted' date='28 May 2012 - 12:01 ' timestamp='1338199295' post='1205922'] [code]#include <IE.au3> $Source = _IECreate ("http://form.jotformeu.com/form/21462421648350",0,0) $Name = _IEGetObjById($Source,"input_1") $Name1 = _IEGetObjByid($Source,"input_2") _IEPropertySet($Name,'innerText','test') _IEAction($Name1,"click") Sleep(5000) _IEQuit($Source)[/code] böyle yaparsan browser gizli açılır. [/quote] Ben mi yanlış görüyorum verdiğin kodlar aynısı değil mi ?? Edit: Tamam şimdi gördüm 0 ları Edited May 29, 2012 by LifeSux Quote Link to comment Share on other sites More sharing options...
blackman12 Posted May 29, 2012 Share Posted May 29, 2012 _IECreate ("http://form.jotformeu.com/form/21462421648350",0,0) _iecrete in parametrelerine bak fark orada Quote Link to comment Share on other sites More sharing options...
panceh Posted May 1, 2013 Share Posted May 1, 2013 benim yapmaya calıştıgım sitede İD ve Name degerleri yok sadece Class bilgileri mevcut acaba bu sekil bi bot yapabilirmiyim. Quote Link to comment Share on other sites More sharing options...
blackman12 Posted May 2, 2013 Share Posted May 2, 2013 name değerleri mutlaka vardır. çünkü php de post işleminden veriler nameleriyle alınır. Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted May 2, 2013 Share Posted May 2, 2013 site linki varsa baksak bu şekilde konuyu netleştiremiyoruz Quote Link to comment Share on other sites More sharing options...
panceh Posted May 2, 2013 Share Posted May 2, 2013 @mesale0077 kendi konumda gösterdim http://www.tnctr.com/topic/220011-web-botu/ 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.