Hallo ich bin der neue,
So meine probleme sind ich habe das eingegeben damit ich eine automatische installation habe nur es funkt nicht!!
(Ist für 7zip)
Variante 1
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.12.1
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
BlockInput(1)
run ("SevenZip")
Winwait("7-Zip 4.31 Setup")
ControlClick("7-Zip 4.31 Setup", "&Install", "Button2")
Winwait("7-Zip 4.31 Setup")
Sleep(5000)
ControlClick("7-Zip 4.31 Setup", "&Finish", "Button2")
BlockInput(0)
danach wie immer habe ich das gespeichert und dann eine exe gemacht (mit Compile Script)
danach habe ich deppelklick auf die exe gemacht und der pc hängt nur mach nichts automatisch ich verstehe es einfach nicht
Variante 2
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.12.1
Author: myName
Script Function:
Template AutoIt script.
#ce ----------------------------------------------------------------------------
; Script Start - Add your code below here
run ("SevenZip")
Winwait("7-Zip 4.31 Setup")
ControlClick("7-Zip 4.31 Setup", "&Install", "Button2")
Winwait("7-Zip 4.31 Setup")
Sleep(5000)
ControlClick("7-Zip 4.31 Setup", "&Finish", "Button2")
BlockInput(0)
und ohne Blockinput hängt es nicht dafür macht er das trozdem nicht automatisch
was mache ich denn nur falsch???
Ich danke für jede antwort!!