meine Frage ist wenn ich mit der IE.au3 einen browser erstelle und auf dem einen Button anklicke, der ein weiteres Fenster als Pop-Up öffnet, wie kriege ich dann sowas wie einen handle über dieses fenster um damit weiterzuarbeiten?
Das kriegst du nicht, du kannst aber ganz einfach an das neue Fenster dich attachen mittels _IEAttach. Da du vermutlich nicht weißt wie der Titel ist, kannst du einfach das Array das du von WinList bekommst durchiterieren und dann den Titel attachen der nicht der von deinem Hauptbrowser ist.
Das kriegst du nicht, du kannst aber ganz einfach an das neue Fenster dich attachen mittels _IEAttach. Da du vermutlich nicht weißt wie der Titel ist, kannst du einfach das Array das du von WinList bekommst durchiterieren und dann den Titel attachen der nicht der von deinem Hauptbrowser ist.
Danke dir. Habe nun ein anderes Problem, unzwar kann ich den Button in der IE.au3 nicht drücken, auch nicht manuell. Die Seite ist Botgeschützt. Gibts da einen Weg wie ich das umgehen kann und diesen Buttonklick simulieren kann? Mit _IEAction und $object.click gehts nicht
Local $oInputs = _IETagNameGetCollection($IE, "div") For $oInput In $oInputs If $oInput.classname == "btn3" Then $inner = $oInput.innerText MsgBox(0,"",$inner) If $inner = "Follow" Then MsgBox(0,"","klicke") ;_IEAction($oInput,"click") $oInput.click EndIf EndIf
Next
While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd
It seems that your are doing a bot for AddMeFast.
I used IE.au3 a long time ago, and this was pretty slow and bugged. Moreover, my computer was working slowly when i used my bot.
What i can now advise to you should be to use winhttp.au3 to send directly POST/GET request. Moreover, you can read source code and store cookies with it.
But, there isn't a lot of documentation on it, here is the best i found :
Good luck
It seems that your are doing a bot for AddMeFast.
I used IE.au3 a long time ago, and this was pretty slow and bugged. Moreover, my computer was working slowly when i used my bot.
What i can now advise to you should be to use winhttp.au3 to send directly POST/GET request. Moreover, you can read source code and store cookies with it.
But, there isn't a lot of documentation on it, here is the best i found :
Good luck
Thanks for your advice. I had a look on the packets addmefast sends but in terms of winhttp im still at beginner level. I can hardly create a login with it but ill keep it in mind
WinHttp might get detected since you're only requesting the required data (no .css or pictures). Also you might have to handle cookies which is not that easy.
Wenn du was mit WinHttp machen willst dann nimm die dazugehörige UDF, die wird dir einiges erleichtern. Du solltest eigentlich mit einem Einsteigertutorial und folgenden Befehlen gut auskommen.
As you want. Your bot, your choice
But, if i can insist, it isn't that hard.
Maybe I'm totally wrong, but you probably used wireshark or something like that to sniff packets. But wireshark is really complet, TOO MUCH complete for beginner
You should use Fiddler for start, to really understand what is send, how ?
Then, you should try to use winhttp, just a starting code. And if that's not working, just come back with your code and epvp's community we'll try to help you
Sorry if i'm out of your question, but, believe my exerience, IE.au3 isn't a good solution
I do not want to be annoying, but, i saw your thread :
If you want to put your bot in background, it's not the way you must do, because, with autoit, you can't do anything with flash.
As far as i know, background pixel bot are working with C# ( + some autoit too )
Why should I find someone who wants to help me annoying?
I created this thread because I wanted to write a background bot for AddMeFast. My DarkOrbit bot has nothing to do with the IE.au3. It's Pixel- and ImageSearch based. But there is already someone who helps me with putting the bot in background in C#, thanks!