Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:59

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

Advertisement



[AutoIT] Variable Senden

Discussion on [AutoIT] Variable Senden within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 40
Received Thanks: 1
[AutoIT] Variable Senden

Hallo,
ich möchte das mein Programm eine ini ausliest und in eine Variable setz und diese dan per Send sendet.

Code:
$taste = IniRead("config.ini", "config", "taste","")

Send($taste)
In dem Fall F2, aber er ignoriert das F und sendet nur 2.

Ich hoffe mir kann jemand helfen.
marioplayer95 is offline  
Old 07/28/2011, 14:07   #2


 
Menan's Avatar
 
elite*gold: 0
The Black Market: 169/0/0
Join Date: Sep 2008
Posts: 9,484
Received Thanks: 3,109
Code:
Send({$taste})
probier mal das
Menan is offline  
Old 07/28/2011, 14:11   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
Man beachte die Hilfe:
Quote:
Originally Posted by Hilfe
{F1} - {F12} Function keys
Es bieten sich in dem Fall also 2 Lösungen an:
1. Den .ini Eintrag anpassen:
Quote:
Originally Posted by config.ini"
[config]
taste={F2}
2. Die Send() Funktion anpassen:
PHP Code:
$taste IniRead("config.ini""config""taste""")
Send("{" $taste "}"
KDeluxe is offline  
Old 07/28/2011, 14:48   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 40
Received Thanks: 1
Vieleeeen Dank, jetzt funktioniert es.
marioplayer95 is offline  
Old 12/10/2012, 14:20   #5
 
SeaDoc's Avatar
 
elite*gold: 1
Join Date: Sep 2012
Posts: 471
Received Thanks: 118
Huhu ich Push das Thema mal eben ^^

ich habe das so geschrieben ..

Code:
Func _Hohl()
	MsgBox(0,"Karte","Bitte stelle die tasten in der confi ein :) " )
	While True
	If _ImageSearch("Gui2\chat.bmp", 1, $Repp1, $Repp2, 100) Then
Sleep(3000)
$Hohl = IniRead("confi.ini","Hohl","Taste","")
Send("{" & $Hohl & "}")

Else
if	MsgBox(5,"Bilder Nicht gefunden ","Bitte Prüfen ob  bilder frei sind ") = 2 Then
	Exit
EndIf
EndIf
WEnd

EndFunc   ;==>_Hohl
und meine Confi sieht so aus ^^

Code:
[Hohl]
Taste=t
SeaDoc is offline  
Reply


Similar Threads Similar Threads
Form unsichtbar machen und Variable senden
09/18/2010 - AutoIt - 4 Replies
Hallo, ich habe zwei kleine Probleme und bin durch Google nicht fündig geworden. Wie kann man bei einer Form visible setzen und wie kann ich eine Variable mit Send() senden? Danke schonmal im vorraus :D FizzeBu
Autoit Spezielle Variable
02/07/2010 - AutoIt - 10 Replies
hihi :D ich habe eine frage: kann mir jmd sagen, wie ich in auto it eine variable erstelle, welche ein wort als inhalt zugewiesen bekommt, wobei da wort zufällig auf einer internetseite generiert wird ?? ich habe mir gedacht, dass ich das wort markieren und kopieren lasse und dann das "kopierte" der variable als wert zuweise .... wäre nett, wenn mit jmd helfen könnte :D
[AutoIT]Variable Conversion
10/30/2009 - AutoIt - 2 Replies
Is there any way to convert a variable into a certain other type? For example: Variable $A should be a float set to 5.01382 however when I bring it into AutoIT, it converts it to an Unsigned Long giving me a different value of something like 1099238427 So basically I just want to know if there is a command, or any way to code a function that can convert Variables set to Unsigned Long into Float/Double/Unsigned Short
AutoIt Variable Question
03/08/2008 - Conquer Online 2 - 10 Replies
Another stupid AutoIt Question... Ok So... I have lets say I have an inputbox called $input and it works fine. So lets say the input box says What is your name? And so the user types Bob I am wondering how to have a message box come up and say Hello Bob! If possible I need whole code. Whoever answers my question gets thanks :D



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


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.