Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 15:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[autoit] Help w/ IE buttons

Discussion on [autoit] Help w/ IE buttons within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Kaspar Nagarian's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 71
Received Thanks: 1
Question [autoit] Help w/ IE buttons

I'm trying to get the "Vote" button written into a macro.



I've absolutely no idea where to go with this and I've looked all over the interwebs for a few hours now trying to find something that makes sense. All i want is to hit that button without it being a set location on the screen. (so not using mouse functions.)
Kaspar Nagarian is offline  
Old 10/12/2013, 08:33   #2
 
CallSaul's Avatar
 
elite*gold: 0
Join Date: Oct 2013
Posts: 327
Received Thanks: 65
In Case you are a beginner, i would recommend to have a Look on the ie.au3 UDF.

By the Way... The Vote Button maybe dont have a real ID or Name.
It might be just an Form-Submitt Button.
CallSaul is offline  
Old 10/12/2013, 14:58   #3
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
How about getting the Object via its ID:
Code:
$oSubmit = _IEGetObjById($oIE, "pd-vote-button7459697")
_IEAction($oSubmit, "click")
Does that work? Of course you have to create an IE Object first but I guess you know that.
alpines is offline  
Thanks
1 User
Old 10/12/2013, 15:39   #4
 
Kaspar Nagarian's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 71
Received Thanks: 1
Bingo Alpines, you are a genius!
Kaspar Nagarian is offline  
Old 10/12/2013, 15:59   #5
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Thank you
alpines is offline  
Reply


Similar Threads Similar Threads
[AUTOIT]Buttons Funktionen Zuweisen ?
08/04/2011 - AutoIt - 6 Replies
Ja brauch ma ne hilfe will ma den buttons Zuweisen das sie ihre ahl klicken zb bei dem $Button1 = GUICtrlCreateButton("1", 40, 288, 49, 49, 0) wenn man den anklicken sollte sollte auf nen label oder so eine eins angezeigt werden ;D aber auf inem anderen fenster ; Prompt the user to run the script - use a Yes/No prompt (4 - see help file) $answer = MsgBox(4, "Autoit", "Dieses Anfänger Script starten?Ach ja in der Version FUnktioniert der Nein Button Nich :D")
AutoIt Frage wege Buttons
12/07/2010 - AutoIt - 37 Replies
Hallo, Ich möchte gerne mal von euch wisse wie ich diese Buttons (Siehe Screen) verlinken kann also auzf den Button wo ElitePvPers steht elitepvpers - play less, get more drauf amchen das wenn ich da drauf klicke sich im Browser IE, Morzilla oder so dann Elitepvpers öffnet. Screen:
[AutoIt] Buttons mit Hover Effekt?
05/11/2010 - General Coding - 2 Replies
Hallo, ich suche nach einer Möglichkeit, dass ich meinen Buttons, denen ich ein Hintergrundbild gegeben hab, einen Hover Effekt geben kann. Kennt jemand eine Lösung? Ich hab bis jetzt mit FileInstall eine Bilddatei hinzugefügt und das Bild auf den Button gelegt. Allerdings sieht er langweilig aus, da er nichts "macht" wenn man mit der Maus über ihn geht :( Greetz
AutoIT (pickupbot) Frage wegen buttons
01/28/2010 - AutoIt - 4 Replies
So hallo erstma =) Hoffe ihr könnt mir helfen=) also der quellcode und der nach mein prob. Also ihr könnts auch ausprobieren=D Aufjedenfall kann ich den Start Button einmal drücken er startet aber ich kann nur einen Button drücken also kann nicht mehr den stop button klicken bzw klickn ja aber es passiert nichts auch wenn ich den Bot wieder beende geht info usw. nicht. (Also kurz gesagt: Ich kann nur einmal einen Button drücken, dernach funktionieren die anderen ned) (ist mein 2tes...



All times are GMT +1. The time now is 15:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.