Hi leute
ich habe ein problem mal wieder!
Und zwar möchte ich ne serial aus dem offen Notepad in meinen autoit installer copieren,da es leider per send control und dem scriptwriter nicht klappt da die serial leider nicht coreckt übertragen wird!
Hier mal mein code bis jetz!
Mir fehlt eigentlich nur wie ich den text im notepad halt in meine anwedung Kopiere!
Ich danke schon mal für eure hilfe !
Opt("WinWaitDelay",500)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
MsgBox(4096, "Windows Autoit Installer By muschie", "Thx for using my Stuff This box will time out in 5 seconds and start the Instalation", 5)
Run(@ScriptDir & '\ams60cm.exe')
Sleep(1000)
winwait("AutoPlay Media Studio 6.0 Setup","")
controlclick("AutoPlay Media Studio 6.0 Setup", "&Next >", "Button3")
winwait("AutoPlay Media Studio 6.0 Setup","")
controlclick("AutoPlay Media Studio 6.0 Setup", "I agree to the terms of this license agreement", "Button3")
winwait("AutoPlay Media Studio 6.0 Setup","")
controlclick("AutoPlay Media Studio 6.0 Setup", "&Next >", "Button1")
Sleep(200)
Run("notepad.exe")
WinWait("Untitled -")
ControlSetText("Untitled -", "", "Edit1","BM6-XX289-JRM84-BV9SL-4V0C2")
Sleep(400)
$var = ControlGetText("Untitled - Notepad", "", "Edit1")
ControlSend("AutoPlay Media Studio 6.0 Setup", "", "Edit6", "?????")