Du hast meinen Post #6 doch nicht verstanden ![]()
Ggf. funktionert es so:
[autoit]Run ("C:\Programme\GlovePIE029\GlovePIE.exe -C:\Programme\GlovePIE029\WiimoteScripts\WiiMouseIR.PIE")
sleep (2000)
controlclick ("GlovePIE - Programmable Input Emulator 0.29 [Running]", "Stop", "TBitBtn1")
$alt = RegRead ("HKLM\SOFTWARE\Microsoft\Cryptography\RNG", "Seed")
[/autoit][autoit][/autoit][autoit]While 1 ; willst Du das das Programm endlos läuft, oder nur 1x ??
If $alt <> RegRead ("HKLM\SOFTWARE\Microsoft\Cryptography\RNG", "Seed") Then
ControlClick ("GlovePIE - Programmable Input Emulator 0.29", "Run", "TBitBtn1")
Else
controlclick ("GlovePIE - Programmable Input Emulator 0.29 [Running]", "Stop", "TBitBtn1")
EndIf
Wend
An Deiner Stelle würde ich aber vor den "ControlClick" prüfen, ob überhaupt ein Fenster zum fernsteuern vorhanden ist (WinWait, WinExists).