Local $i_Opt, $i_Pid, $h_Splash, $h_AIDA64, $i_Timer
$i_Opt = Opt('WinWaitDelay', 0)
$i_Pid = Run(@ProgramFilesDir & '\FinalWire\AIDA64 Business Edition\aida64.exe');поменяйте путь на свой (правильный)
If Not $i_Pid Then Exit 1
$h_Splash = WinWait('[Title:Splash;Class:TForm_Splash]', '', 3)
If Not $h_Splash Then Exit 2
WinSetState($h_Splash, '', @SW_MINIMIZE)
$h_AIDA64 = WinWait('[Title:AIDA64;Class:TAIDA64]', '', 3)
If Not $h_AIDA64 Then Exit 3
$i_Timer = TimerInit()
While Not BitAND(WinGetState($h_AIDA64), 2)
Sleep(10)
If TimerDiff($i_Timer) > 20000 Then Exit 4
WEnd
WinSetState($h_AIDA64, '', @SW_MINIMIZE)
Opt('WinWaitDelay', $i_Opt)