Hi
Ich wollte mir ein Prog machen, das wenn ein Unbanannt - Editor offen ist, die eingaben aus insgesammt 10 Inputboxen sendet.
z.B.: NUMPAD 1 = Hallo
[autoit]#include <GUIConstants.au3>
[/autoit][autoit][/autoit][autoit]HotKeySet("{NUMPAD1}", "Send1")
HotKeySet("{NUMPAD2}", "Send2")
HotKeySet("{NUMPAD3}", "Send3")
HotKeySet("{NUMPAD4}", "Send4")
HotKeySet("{NUMPAD5}", "Send5")
HotKeySet("{NUMPAD6}", "Send6")
HotKeySet("{NUMPAD7}", "Send7")
HotKeySet("{NUMPAD8}", "Send8")
HotKeySet("{NUMPAD9}", "Send9")
HotKeySet("{NUMPAD10}", "Send10")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 322, 210, 255, 230)
$Input1 = GUICtrlCreateInput("Input1", 16, 16, 137, 21)
$Input2 = GUICtrlCreateInput("Input2", 16, 48, 137, 21)
$Input3 = GUICtrlCreateInput("Input3", 16, 80, 137, 21)
$Input4 = GUICtrlCreateInput("Input4", 16, 112, 137, 21)
$Input5 = GUICtrlCreateInput("Input5", 16, 144, 137, 21)
$Input6 = GUICtrlCreateInput("Input6", 168, 16, 137, 21)
$Input7 = GUICtrlCreateInput("Input7", 168, 48, 137, 21)
$Input8 = GUICtrlCreateInput("Input8", 168, 80, 137, 21)
$Input9 = GUICtrlCreateInput("Input9", 168, 112, 137, 21)
$Input10 = GUICtrlCreateInput("Input10", 168, 144, 137, 21)
$Label1 = GUICtrlCreateLabel("© by Technoboy", 120, 184, 84, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Run("notepad.exe")
WinWaitActive("Unbenannt - Editor")
While 1
Sleep(100)
WEnd
Func Send1()
Send($Input1)
EndFunc
Func Send2()
Send($Input2)
EndFunc
Func Send3()
Send($Input3)
EndFunc
Func Send4()
Send($Input4)
EndFunc
Func Send5()
Send($Input5)
EndFunc
Func Send6()
Send($Input6)
EndFunc
Func Send7()
Send($Input7)
EndFunc
Func Send8()
Send($Input8)
EndFunc
Func Send9()
Send($Input9)
EndFunc
Func Send10()
Send($Input10)
EndFunc
Das hab ich mir bis jetz so gedacht aber iwie geht das nicht : (
Bitte um Hilfe