Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:10

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

Advertisement



ControlSend Problem

Discussion on ControlSend Problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old 11/12/2010, 06:35   #46
 
Belur's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 3,441
Received Thanks: 1,473
Hier mal der Code: Wie gesagt, er sendet nicht die in der ComboBox ausgewählten Tasten sondern immer nur "C". Vllt weiß jetzt jmd weiter.

PHP Code:
#include <ButtonConstants.au3> 
#include <ComboConstants.au3> 
#include <EditConstants.au3> 
#include <GUIConstantsEx.au3> 
#include <WindowsConstants.au3> 
#Region ### START Koda GUI section ### Form= 
$Form1 GUICreate("Form1"630284192124
$Combo1 GUICtrlCreateCombo("Combo1"242418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Input1 GUICtrlCreateInput("Input1"2242416921
$Button1 GUICtrlCreateButton("Button1"408248125$WS_GROUP
$Button2 GUICtrlCreateButton("Button2"512248125$WS_GROUP
$Input2 GUICtrlCreateInput("Input2"2246416921
$Combo2 GUICtrlCreateCombo("Combo2"246418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Button3 GUICtrlCreateButton("Button3"408648125$WS_GROUP
$Button4 GUICtrlCreateButton("Button4"512648125$WS_GROUP
$Combo3 GUICtrlCreateCombo("Combo3"2410418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Input3 GUICtrlCreateInput("Input3"22410416921
$Combo4 GUICtrlCreateCombo("Combo4"2414418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Combo5 GUICtrlCreateCombo("Combo5"2418418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Combo6 GUICtrlCreateCombo("Combo6"2422418525
GUICtrlSetData(-1"F1|F2|F3|F4|F5|F6|F7|F8|F8|F9"
$Input4 GUICtrlCreateInput("Input4"22414416921
$Input5 GUICtrlCreateInput("Input5"22418416921
$Input6 GUICtrlCreateInput("Input6"22422416921
$Button5 GUICtrlCreateButton("Button5"4081048125$WS_GROUP
$Button6 GUICtrlCreateButton("Button6"5121048125$WS_GROUP
$Button7 GUICtrlCreateButton("Button7"4081448125$WS_GROUP
$Button8 GUICtrlCreateButton("Button8"5121448125$WS_GROUP
$Button9 GUICtrlCreateButton("Button9"4081848125$WS_GROUP
$Button10 GUICtrlCreateButton("Button10"5121848125$WS_GROUP
$Button11 GUICtrlCreateButton("Button11"4082248125$WS_GROUP
$Button12 GUICtrlCreateButton("Button12"5122248125$WS_GROUP
GUISetState(@SW_SHOW
#EndRegion ### END Koda GUI section ### 


Dim $akt1 False 
$iCombo1 
GUICtrlRead($Combo1
$handle WinGetHandle("FLYFF"
$iSleep GUICtrlRead($Input1
While 

    $nMsg 
GUIGetMsg() 
    Switch 
$nMsg 
        
Case $GUI_EVENT_CLOSE 
            
Exit 

            Case 
$button1 
                $akt1 
True 
             
Case $Button2 
                $akt1 
False 
        
EndSwitch 

        If 
$akt1 True Then ControlSend($handle,"","""{" $iCombo1 "}"
        
Sleep($iSleep
EndIf 
WEnd 
Belur is offline  
Reply


Similar Threads Similar Threads
ControlSend Problem
11/02/2010 - AutoIt - 17 Replies
Hallo alle zusammen , wie irh bestimmt wisst hat ControlSend immer eine Einschränkung für die Tastatur.... Jetzt wollte ich euch um Rat fragen ob es da irgendeine bestimmte UDF,oder sonsstwas gibt ... Ich denke das würde nicht nur mir helfen sondern auch andern
Controlsend
10/12/2010 - AutoIt - 8 Replies
hi, wie kann man einen beliebiges wort in die googlesuchmaschine (nur in die inputbox von google) mit controlsend schreiben? kennt wer ein gutes tut über controlsend?
Problem mit Controlsend
08/06/2010 - AutoIt - 36 Replies
Hallo, Vielleicht haben manche von euch auch das Problem das wen es zuviele ControlSends im Script sind und du z.b. was schreiben willst dan die Tastatur komplett anfängt zu Spinnen. z.b.: Func _1() ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(150) ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(400)
Controlsend
01/01/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 4 Replies
Hiho, ich würde gerne wissen, ob es eine Möglichkeit gibt den Slash bzw "^" als String und nicht als Strg-Druck an ein Fenster via Controlsend zu schicken. In meinem Script lass ich mir den String einer Inputbox in ne Variable schreiben und schick den dann an die GW-Fenster. Das geht Fehlerfrei, nur leider gehen Ausrufezeichen etc nicht mit Controlsend -.- Pls help me^^ ty im Voraus!



All times are GMT +1. The time now is 01:12.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.