Jump to content

Mesaj Gönderme Botu ?


LifeSux
 Share

Recommended Posts

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 ?
Link to comment
Share on other sites

şö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 by LifeSux
Link to comment
Share on other sites

[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.

Link to comment
Share on other sites

[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.

Link to comment
Share on other sites

[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ı :D

Edited by LifeSux
Link to comment
Share on other sites

  • 11 ay sonra...

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...