Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:14

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

Advertisement



Input als Hotkey aber wie?

Discussion on Input als Hotkey aber wie? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Input als Hotkey aber wie?

Hi

Ich möchte gerne den Text eines Inputs (z.B. {F6}) als Hotkey setzen, weiß aber nicht wie.

Der 1. der mir diese Frage beantworten kann kriegt nen thx.


Hoffe auf Antworten.


mfG
AllesVergeben is offline  
Old 06/27/2009, 23:19   #2

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324
Wäre nicht schlecht zu wissen für welche Sprache....
Adroxxx is offline  
Old 06/27/2009, 23:21   #3
 
elite*gold: 20
Join Date: Jan 2009
Posts: 826
Received Thanks: 75
autoit wette ich xD
würde mich auch intressieren^^
Freakyx3 is offline  
Old 06/27/2009, 23:24   #4
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Ich meine die Sprache AutoIt.

mfG
AllesVergeben is offline  
Old 06/27/2009, 23:30   #5

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324
Dann poste es auch in die AutoIt section.
Und les dir mal die Grundlagen Tutorials durch die im Sammelthread gestickt sind.



#moved
Adroxxx is offline  
Old 06/27/2009, 23:33   #6
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Tut mir leid, aber daraus kann ich nichts entnehmen. Die Fachsprache...

Kannst du es mir nicht einfach sagen, bitte??


mfG
AllesVergeben is offline  
Old 06/27/2009, 23:37   #7

 
Adroxxx's Avatar
 
elite*gold: 15
Join Date: Nov 2005
Posts: 13,021
Received Thanks: 5,324
Quote:
Originally Posted by AllesVergeben View Post
Tut mir leid, aber daraus kann ich nichts entnehmen. Die Fachsprache...

Kannst du es mir nicht einfach sagen, bitte??


mfG
Ich muss mich gerad echt zusammenreißen.

Ich habe dir doch gerade den Link geposted. Sag mir nicht, dass du zu faul warst da drauf zu klicken [...] denn da ist alles was du brauchst.
Adroxxx is offline  
Old 06/27/2009, 23:40   #8

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
$read = Guictrlread($input)
Hotkeyset($read,"_start")

sollte ohne probs gehen
°Remus° is offline  
Thanks
2 Users
Old 06/27/2009, 23:42   #9
 
elite*gold: 20
Join Date: Jan 2009
Posts: 826
Received Thanks: 75
hmm genauso hab ich das mal probiert , ging net aber ich probiers einfach noch mal danköö
Freakyx3 is offline  
Old 06/27/2009, 23:46   #10
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Da steht, wie man mit Hotkeys umgeht und wie man normale macht.

ICH will aber wissen, wie man eine Inputbo als Hotkey benutzt.

Bei mir Funktioniert es so nämlich nicht:

PHP Code:
;Der relevante Teil:
$Input1 GUICtrlCreateInput("Text"964015321)
Jetz Hotkey:
$Hotkeyset (GUICtrlRead($input6), "_SendeText" )
Func _SendeText()
Unwichtig
EndFunc 
AllesVergeben is offline  
Old 06/27/2009, 23:55   #11
 
elite*gold: 20
Join Date: Jan 2009
Posts: 826
Received Thanks: 75
Quote:
Originally Posted by AllesVergeben View Post
Da steht, wie man mit Hotkeys umgeht und wie man normale macht.

ICH will aber wissen, wie man eine Inputbo als Hotkey benutzt.

Bei mir Funktioniert es so nämlich nicht:

PHP Code:
;Der relevante Teil:
$Input1 GUICtrlCreateInput("Text"964015321)
Jetz Hotkey:
$Hotkeyset (GUICtrlRead($input6), "_SendeText" )
Func _SendeText()
Unwichtig
EndFunc 
warum is hotkeyset ne variable und warum erstellst du input1 willst aber input6 auslesen?
Freakyx3 is offline  
Old 06/27/2009, 23:56   #12
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
PHP Code:
$read Guictrlread($input6)
Hotkeyset ($read"_SendeText" )
    
    
Func _SendeText()
    
$check1 GuiCtrlRead($Checkbox2)
    
$check2 GuiCtrlRead($Checkbox1)
    
$read1 Guictrlread($input1)
   If 
$check1 1 Then
        
If $check2 1 Then
            Send 
("{Enter}")
            
Send ($input1)
            
Send ("{Enter}")
            
Send ("{Enter}")
        Else
        
Send ($read1)
        EndIf
    EndIf
EndFunc 

Wieso geht DAS denn nicht? ich habe es genauso gemacht, wie du gesagt hast.

@Übermir: Ja das war was anderes. Input1 sollte der Text sein, hab ich aus versehn reingetan, wollte input6, und die $ vor dem hotkey war auchn fehler.


mfG
AllesVergeben is offline  
Old 06/27/2009, 23:58   #13
 
elite*gold: 20
Join Date: Jan 2009
Posts: 826
Received Thanks: 75
weil du deinem ersten code nach nen anderes control auslesen willst als du erstellst
Freakyx3 is offline  
Old 06/28/2009, 00:02   #14

 
°Remus°'s Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 8,541
Received Thanks: 4,539
Code:
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 164, 40, 662, 535)
$Input1 = GUICtrlCreateInput("{F5}", 8, 8, 141, 21)
GUISetState(@SW_SHOW)

HotKeySet(GUICtrlRead($input1),"Start")

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit
EndSwitch
Sleep(1000)
WEnd

func start()
	MsgBox(0,"test",GUICtrlRead($input1))
EndFunc
funzt perfekt
°Remus° is offline  
Old 06/28/2009, 00:02   #15
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Ja aber ich mein jetzt den Code^^
AllesVergeben is offline  
Reply


Similar Threads Similar Threads
Need some advice/help/input/know-how
11/28/2009 - Aion - 3 Replies
Seeing my acc banned after using Aion SZ im looking for an alternative. Highest priorety is ofc not getting banned again, though i dont want to lose alot of functionality. From what I have read on ElitePvPers over the past months I think it all comes down to: MacroGoblin MMOGuider AionNinja Seeing how each of them gets good and bad props all over the place i'm really wondering what to get now -.- Moneywise i dont rly care, I just want to get the best product for my money and get...
Need some input please
07/10/2009 - Dekaron Private Server - 9 Replies
OKay guys i got my client packed but i only have 2 problems: The loading map screen for deathlands is white and blank. also the minimap is blank. At first my mobs were pink but i reinstalled the textures and it fixed it. I reinstallled the files from data/texture/minimap and the loading one in texture/ui/game/loading. Wondering if anyone else might have an idea EDIT:: Its all new maps but they worked fine in unpacked mode same textures and etc ...
Hilfe bei input
12/05/2008 - Guild Wars - 9 Replies
Hi, bin grad an etwas kleinem drann wo anfangs ein fenster mit inputbox erscheint(geht auch). Nun möchte ich, dass die zahl wo man in die inputbox eingibt die wiederholungszahl einer zugewiesenen Funktion angibt.. Input: $input = GUICtrlCreateInput("Die Zahl", 216, 56, 81, 21) Hier soll die zahl aus der inputbox hin: for $i = 1 to $input
GUI Run (input...)
05/12/2008 - Guild Wars - 30 Replies
Hallo, ich mal wieder mit ne Frage. Und zwar habe ich eine Func _path() erstellt welche die Aufgabe hat den user auf zu fordern den Pfad zum GuildWars verzeichniss an zu geben. Die func klappt auch ohne Probleme, aber ich möchte es halt so das wenn der User dann start drückt das GuildWars startet von dem Verzeichniss aus wo der User sein GuildWars Installiert hat. Die Func sieht so aus.... func _path() MsgBox ( 0, "GuildWars Path", "Befor the bot can do autologin you have to...
hi some input plz?
05/11/2007 - Conquer Online 2 - 0 Replies
i made billions of high lv troj and got used to it, now i played on a new serv and made a lv110 war in 2weeks. however, i am very not used to it cuz cant even ss/fb. i wasthinking of making a new char, or stick with this one rb at 120, or make it 130 130 rb to troj? btw lvling with a sword/blade and shield at lv120 + , would it affect my exp a lot compare to using club shield?



All times are GMT +1. The time now is 19:14.


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.