Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:40

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

Advertisement



controlID problem

Discussion on controlID problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2008
Posts: 455
Received Thanks: 85
controlID problem

hiho, im trying to create a multiboxing script which simultaneously sends keys to all clients. but i got trouble finding out the controlid for all of the clients. the title and text are the same, so i cant use the proper controlsend. does anyone have an idea how to get the controlID of my clients or how to initialize the clients with some other technique?

thanks in advance
schmuselord1 is offline  
Old 12/05/2012, 23:07   #2
 
elite*gold: 35
Join Date: Apr 2011
Posts: 800
Received Thanks: 214
Check those functions:
Quote:
_WinAPI_GetForegroundWindow()
_WinAPI_GetWindow($hWnd, $iCmd)

WinGetHandle ( "title" [, "text"] )
WinSetTitle ( "title", "text", "newtitle" )
I don't know how the exact situation is but i guess you could open the clients after each other and use WinSetTitle between opening them.

Maybe you could also use _WinAPI_GetForegroundWindow() and just switch from window to window.

Greez AppleTree
.AppleTree. is offline  
Thanks
1 User
Old 12/06/2012, 23:55   #3
 
elite*gold: 0
Join Date: Nov 2008
Posts: 455
Received Thanks: 85
Quote:
Originally Posted by .AppleTree. View Post
Check those functions:


I don't know how the exact situation is but i guess you could open the clients after each other and use WinSetTitle between opening them.

Maybe you could also use _WinAPI_GetForegroundWindow() and just switch from window to window.

Greez AppleTree
i already solved this by using WinSetTitle. but thanks anyway
schmuselord1 is offline  
Reply


Similar Threads Similar Threads
ControlID etc. bei untermenüs herausfinden
10/23/2011 - AutoIt - 5 Replies
Guten Abend, ich hab das Problem, dass ich in der Menüleiste mit ControlClick navigieren möchte. "MouseClick" geht nicht, da das Skript später im hintergrund laufen soll. Bsp: Ich öffne das Email-Programm. Jetzt möchte ich nur Emails eines bestimmten Kontos empfangen. Der erste klick ist ja kein Problem mit ControlClick. Aber dann öffnet sich ein Untermenü in welchem ich dann nicht mehr mit ControlClick klicken kann. ich habe es schon mit ControlSend probiert. Leider werden die...
4story ControlID
06/21/2011 - 4Story - 2 Replies
Hallo, ich wollte wissen, ob jemand könnte mich an die ControlID 4story EG erzählen oder wie finde ich Dank Translation by Google Translator
autoit metin2 controlID
05/14/2010 - AutoIt - 3 Replies
hey ich wollte per controllsend ein tastendruck simulieren F7 um genau zu sein wie muss ich das alles ausfüllen weil es hängt eig nur an der controll id meines wissens nach ControlSend("METIN2", "", "0", "{F7}")



All times are GMT +1. The time now is 00:40.


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.