Hallo allerseits!
ICh schon wieder :
ICh habe folgendes Sktipt geschrieben:
RegClean-Fernstuerung
#include <WindowsConstants.au3>
[/autoit] [autoit][/autoit] [autoit]$ProgressGUI = GUICreate("Form1", 545, 25, -1, -1, $WS_POPUP, $WS_EX_TOOLWINDOW)
$Progress = GUICtrlCreateProgress(0, 0, 545, 25)
GUISetState(@SW_SHOW)
Run(@ScriptDir & "\Tools\regclean\Regclean.exe")
[/autoit] [autoit][/autoit] [autoit]Global $ControlText = StringSplit("Loading Component Categories...|Loading Interface Identifiers...|Loading Type Library Identifiers...|Scanning Class Identifiers for errors...|Scanning Type Library Identifiers for errors...|Finished checking. Waiting to Fix Errors.", "|")
[/autoit] [autoit][/autoit] [autoit]For $i = 1 To 6
Do
Sleep(100)
Until ControlGetText("Microsoft RegClean", "", 1013) = $ControlText[$i]
GUICtrlSetData($Progress, $i * 10)
Next
ControlClick("Microsoft RegClean", "", 1009)
[/autoit] [autoit][/autoit] [autoit]Do
Sleep(100)
Until ControlGetText("Microsoft RegClean", "", 1013) = "Saving corrections to the registry..."
GUICtrlSetData($Progress, $Progress + 10)
While WinExists("Microsoft RegClean")
ControlClick("Microsoft RegClean", "", 1008)
WEnd
MsgBox(0, "", "fertig")
[/autoit]Dazu folgender Anhang: autoit.de/wcf/attachment/3940/, der gehört (entpackt) nach Tools\regclean.
Wenn ich nun die Zeile
[autoit]Run(@ScriptDir & "\Tools\regclean\Regclean.exe")
[/autoit]
durch @SW_HIDE, @SW_LOCK, @SW_DISABLE oder so nicht zugänglich mache, funktioniert nichts. Wieso?
wie kann ich ein Programm verdeckt fernsteuern
Danke für Eure Bemühungen! (Ein Spruchwechsel muss ja mal drin sein )